All MIPS .debug_* sections should be marked with ELF type SHT_MIPS_DWARF accordingly the specification [1]. Also the same section type is assigned to these sections by GNU tools.
[1] ftp.software.ibm.com/software/os390/czos/dwarf/mips_extensions.pdf
Paths
| Differential D29789
[MC] Set SHT_MIPS_DWARF section type for all .debug_* sections on MIPS ClosedPublic Authored by atanasyan on Feb 9 2017, 2:07 PM.
Details Summary All MIPS .debug_* sections should be marked with ELF type SHT_MIPS_DWARF accordingly the specification [1]. Also the same section type is assigned to these sections by GNU tools. [1] ftp.software.ibm.com/software/os390/czos/dwarf/mips_extensions.pdf
Diff Detail
Event Timelineatanasyan added a parent revision: D29719: [MC] Accept a numeric value as an ELF section header's type.Feb 9 2017, 2:15 PM Comment Actions This patch appears to be missing the declaration for SHT_MIPS_DWARF = 0x7000001e in include/llvm/Support/ELF.h. One comment request inlined.
This revision is now accepted and ready to land.Feb 13 2017, 5:20 AM Closed by commit rL297447: [MC] Set SHT_MIPS_DWARF section type for all .debug_* sections on MIPS (authored by atanasyan). · Explain WhyMar 10 2017, 12:34 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 91278 llvm/trunk/include/llvm/Support/ELF.h
llvm/trunk/lib/MC/MCObjectFileInfo.cpp
llvm/trunk/lib/MC/MCSectionELF.cpp
llvm/trunk/test/DebugInfo/Mips/InlinedFnLocalVar.ll
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||