[PATCH] Generalize debug info / EH emission in AsmPrinter
Timur Iskhodzhanov
timurrrr at google.com
Mon Dec 2 11:22:52 PST 2013
================
Comment at: lib/CodeGen/AsmPrinter/DIE.cpp:394
@@ +393,3 @@
+ unsigned DwarfVersion = AP->getDwarfVersion();
+ assert(DwarfVersion && "Expected Dwarf Debug info to be available");
+ if (DwarfVersion == 2)
----------------
Eric Christopher wrote:
> Let's make this AP->getDwarfDebug() != NULL as you mention above.
The reason why I've changed that to getDwarfVersion() is that I removed getDwarfDebug entirely.
Do you think I should get it back?
http://llvm-reviews.chandlerc.com/D2222
More information about the llvm-commits
mailing list