mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
If the linkage name doesn't exist we're supposed to emit a reference
to the string table for the function name, not the function name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151873 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
70e2968866
commit
50e266135e
@ -2132,10 +2132,9 @@ void DwarfDebug::emitDebugInlineInfo() {
|
||||
StringRef Name = SP.getName();
|
||||
|
||||
Asm->OutStreamer.AddComment("MIPS linkage name");
|
||||
if (LName.empty()) {
|
||||
Asm->OutStreamer.EmitBytes(Name, 0);
|
||||
Asm->OutStreamer.EmitIntValue(0, 1, 0); // nul terminator.
|
||||
} else
|
||||
if (LName.empty())
|
||||
Asm->EmitSectionOffset(getStringPoolEntry(Name), DwarfStrSectionSym);
|
||||
else
|
||||
Asm->EmitSectionOffset(getStringPoolEntry(getRealLinkageName(LName)),
|
||||
DwarfStrSectionSym);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user