mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 20:33:15 +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)
|
I != E; ++I)
|
||||||
Entries[I->second] = I->first;
|
Entries[I->second] = I->first;
|
||||||
|
|
||||||
for (unsigned i = 0, e = Entries.size(); i != e; ++i) {
|
for (unsigned i = 0, e = Entries.size(); i != e; ++i)
|
||||||
// Emit an expression for reference from debug information entries.
|
Asm->OutStreamer.EmitValue(Entries[i],
|
||||||
if (const MCExpr *Expr = Entries[i])
|
Asm->getDataLayout().getPointerSize());
|
||||||
Asm->OutStreamer.EmitValue(Expr, Asm->getDataLayout().getPointerSize());
|
|
||||||
else
|
|
||||||
Asm->OutStreamer.EmitIntValue(0, Asm->getDataLayout().getPointerSize());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Emit visible names into a debug str section.
|
// Emit visible names into a debug str section.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user