[PATCH] D117786: [DebugInfo][NFC] Do not call 'isRootFile' for DWARF Version < 5
Igor Kudrin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 20 22:53:00 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG86b08ed6bb16: [DebugInfo][NFC] Do not call 'isRootFile' for DWARF Version < 5 (authored by ikudrin).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117786/new/
https://reviews.llvm.org/D117786
Files:
llvm/lib/MC/MCDwarf.cpp
Index: llvm/lib/MC/MCDwarf.cpp
===================================================================
--- llvm/lib/MC/MCDwarf.cpp
+++ llvm/lib/MC/MCDwarf.cpp
@@ -586,7 +586,7 @@
trackMD5Usage(Checksum.hasValue());
HasSource = (Source != None);
}
- if (isRootFile(RootFile, Directory, FileName, Checksum) && DwarfVersion >= 5)
+ if (DwarfVersion >= 5 && isRootFile(RootFile, Directory, FileName, Checksum))
return 0;
if (FileNumber == 0) {
// File numbers start with 1 and/or after any file numbers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117786.401868.patch
Type: text/x-patch
Size: 523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220121/0c54c092/attachment.bin>
More information about the llvm-commits
mailing list