mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +00:00
DwarfDebug: Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201467 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a9db46bf3e
commit
16413fa2f9
@ -2553,13 +2553,9 @@ void DwarfFile::emitAddresses(const MCSection *AddrSection) {
|
||||
I != E; ++I)
|
||||
Entries[I->second] = I->first;
|
||||
|
||||
for (unsigned i = 0, e = Entries.size(); i != e; ++i) {
|
||||
// Emit an expression for reference from debug information entries.
|
||||
if (const MCExpr *Expr = Entries[i])
|
||||
Asm->OutStreamer.EmitValue(Expr, Asm->getDataLayout().getPointerSize());
|
||||
else
|
||||
Asm->OutStreamer.EmitIntValue(0, Asm->getDataLayout().getPointerSize());
|
||||
}
|
||||
for (unsigned i = 0, e = Entries.size(); i != e; ++i)
|
||||
Asm->OutStreamer.EmitValue(Entries[i],
|
||||
Asm->getDataLayout().getPointerSize());
|
||||
}
|
||||
|
||||
// Emit visible names into a debug str section.
|
||||
|
Loading…
x
Reference in New Issue
Block a user