[PATCH] [lld][ELF] Fix debug info handling.
kledzik at apple.com
kledzik at apple.com
Fri Sep 13 14:42:39 PDT 2013
I was wondering why I did not see a change to give debug sections a sectionChoice() of sectionCustomRequired. Then I saw that all ELF sections currently parse to sectionCustomRequired. Seems like the default sections like .text should not be marked as requiring a custom section.
================
Comment at: lib/ReaderWriter/ELF/SectionChunks.h:150
@@ -149,2 +149,3 @@
case DefinedAtom::typeThreadData:
+ case DefinedAtom::typeDebug:
this->_type = SHT_PROGBITS;
----------------
Perhaps typeDwarfDebug would be better should some future debug info come along
http://llvm-reviews.chandlerc.com/D1680
More information about the llvm-commits
mailing list