summaryrefslogtreecommitdiffstats
path: root/llvm/lib/LTO/UpdateCompilerUsed.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2016-11-23 23:30:37 +0000
committerGreg Clayton <gclayton@apple.com>2016-11-23 23:30:37 +0000
commite65439797a89161e791fb0d1795a1a8dfe95849b (patch)
tree2468b98093128348dd384ce409286b80b290ddf3 /llvm/lib/LTO/UpdateCompilerUsed.cpp
parent570e39a25ca345e3facaea16b2facefddfb3aa92 (diff)
downloadbcm5719-llvm-e65439797a89161e791fb0d1795a1a8dfe95849b.tar.gz
bcm5719-llvm-e65439797a89161e791fb0d1795a1a8dfe95849b.zip
Rely on a single DWARF version instead of having two copies
This patch makes AsmPrinter less reliant on DwarfDebug by relying on the DWARF version in the AsmPrinter's MCStreamer's MCContext. This allows us to remove the redundant DWARF version from DwarfDebug. It also lets us change code that used to access the AsmPrinter's DwarfDebug just to get to the DWARF version by changing the DWARF version accessor on AsmPrinter so that it grabs the version from its MCStreamer's MCContext. Differential Revision: https://reviews.llvm.org/D27032 llvm-svn: 287839
Diffstat (limited to 'llvm/lib/LTO/UpdateCompilerUsed.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud