[PATCH] D26879: Make a DwarfGen class that can generate DWARF for unittests and add units tests to test DWARF API.
Greg Clayton via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 22 10:47:15 PST 2016
clayborg added a comment.
Actually the DIEInteger class was grabbing the Dwarf version from the OutStreamer:
if (AP->OutStreamer->getContext().getDwarfVersion() == 2)
Not sure why other places were using the DwarfDebug in AsmPrinter. We currently have two places that have the DWARF version. I can change to get the DWARF version from there and might be able to get rid of some of the AsmPrinter changes.
https://reviews.llvm.org/D26879
More information about the llvm-commits
mailing list