mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-28 06:24:57 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211284 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user