[PATCH] D91505: ELFAsmParser: Remove non-executable sections' line info/address ranges contribution for -g
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 16 16:33:25 PST 2020
MaskRay marked an inline comment as done.
MaskRay added inline comments.
================
Comment at: llvm/test/MC/ARM/dwarf-asm-multiple-sections.s:74-79
// DWARF-DL-5-NEXT: 0x0000000000000004 21 0 0 0 0 is_stmt end_sequence
-// DWARF-DL-4: 0x0000000000000000 17 0 1 0 0 is_stmt
-// DWARF-DL-4-NEXT: 0x0000000000000004 17 0 1 0 0 is_stmt end_sequence
-// DWARF-DL-4-NEXT: 0x0000000000000000 21 0 1 0 0 is_stmt
-// DWARF-DL-4-NEXT: 0x0000000000000004 21 0 1 0 0 is_stmt end_sequence
+// DWARF-DL-3: 0x0000000000000000 17 0 1 0 0 is_stmt
+// DWARF-DL-3-NEXT: 0x0000000000000004 17 0 1 0 0 is_stmt end_sequence
+// DWARF-DL-3-NEXT: 0x0000000000000000 21 0 1 0 0 is_stmt
+// DWARF-DL-3-NEXT: 0x0000000000000004 21 0 1 0 0 is_stmt end_sequence
+// DWARF-DL-EMPTY:
----------------
dblaikie wrote:
> Why the change to DWARFv3 here?
DWARF v3 and v4 use the same format. I think picking a check prefix which represents the lowest standard that something is implemented is reasonable.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91505/new/
https://reviews.llvm.org/D91505
More information about the llvm-commits
mailing list