On Darwin we pin the DWARF line tables to version 2. Stop doing so for
DWARF v5 and later.
Details
Details
Diff Detail
Diff Detail
Event Timeline
| llvm/test/CodeGen/Generic/dwarf-md5.ll | ||
|---|---|---|
| 8 | why does this still work? Wouldn't it yield a DWARF v2 linetable on darwin? | |
| llvm/test/CodeGen/Generic/dwarf-md5.ll | ||
|---|---|---|
| 8 | Yup, but the check-lines are identical for version 4 and 2. If you dwarfdump the object file you'll find it's indeed version 2. dwarf-md5.ll.tmp4.o: file format Mach-O 64-bit x86-64
.debug_line contents:
debug_line[0x00000000]
Line table prologue:
total_length: 0x00000029
version: 2 | |
why does this still work? Wouldn't it yield a DWARF v2 linetable on darwin?