summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-06-19 17:59:14 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-06-19 17:59:14 +0000
commitde8e12a49a3abd984cac67e358a3859ed3f5fa0e (patch)
treeabfc5d7a6f50b01526edbe57e4c43ec7d1b525ab /llvm/lib/CodeGen
parent4c24eba7788fe9ddfd4695610f9c94c6109f754f (diff)
downloadbcm5719-llvm-de8e12a49a3abd984cac67e358a3859ed3f5fa0e.tar.gz
bcm5719-llvm-de8e12a49a3abd984cac67e358a3859ed3f5fa0e.zip
DebugInfo: Fission: Ensure the address pool entries for location lists are emitted.
The address pool was being emitted before location lists. The latter could add more entries to the pool which would be lost/never emitted. llvm-svn: 211284
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 3847eb124f3..f78ca2c03b4 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1038,9 +1038,9 @@ void DwarfDebug::endModule() {
emitDebugInfoDWO();
emitDebugAbbrevDWO();
emitDebugLineDWO();
+ emitDebugLocDWO();
// Emit DWO addresses.
AddrPool.emit(*Asm, Asm->getObjFileLowering().getDwarfAddrSection());
- emitDebugLocDWO();
} else
// Emit info into a debug loc section.
emitDebugLoc();
OpenPOWER on IntegriCloud