Note that .eh_frame sections are generated in the 32-bit format even when debug sections are 64-bit, for compatibility reasons. They use relative references between entries, so they hardly benefit from the 64-bit format.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/lib/MC/MCDwarf.cpp | ||
|---|---|---|
| 1623 | Your other patches don't seem to mention DWARF64 mark. You may drop a comment | |
| llvm/lib/MC/MCDwarf.cpp | ||
|---|---|---|
| 1762–1768 | There are three cases here that have been modified, but I don't see three test cases? | |
- Updated the test for Mach-O to cover the remaining changed code paths.
| llvm/lib/MC/MCDwarf.cpp | ||
|---|---|---|
| 1623 | Hmm, I checked and found similar comments before each line where I added emitting DW_LENGTH_DWARF64. Do you think it is better to remove all such comments or keep all of them? | |
| 1762–1768 | The case in the middle was for the Mach-O target, so I've updated the corresponding test to cover it. The other two paths are already covered by ELF/gen-dwarf64.s. | |
Your other patches don't seem to mention DWARF64 mark. You may drop a comment