================ @@ -728,14 +514,16 @@ void LVDWARFReader::createLineAndFileRecords( for (const DWARFDebugLine::FileNameEntry &Entry : Lines->Prologue.FileNames) { std::string Directory; - if (Lines->getDirectoryForEntry(Entry, Directory)) - Directory = transformPath(Directory); + Lines->getDirectoryForEntry(Entry, Directory); if (Directory.empty()) Directory = std::string(CompileUnit->getCompilationDirectory()); - std::string File = transformPath(dwarf::toStringRef(Entry.Name)); + // Take just the filename component, as it may be contain the full + // path that would be added to the already existing path in Directory. ---------------- jmorse wrote:
This is a functional change to the DWARF reader, is it related to adding the IRReader, or can we defer it to some other patch instead? https://github.com/llvm/llvm-project/pull/135440 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits