mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
factor some labels, simplify some code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98429 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2756,16 +2756,15 @@ emitFunctionDebugFrame(const FunctionDebugFrameInfo &DebugFrameInfo) {
|
||||
getTempLabel("section_debug_frame"), true, false);
|
||||
|
||||
Asm->OutStreamer.AddComment("FDE initial location");
|
||||
Asm->OutStreamer.EmitSymbolValue(getDWLabel("func_begin",
|
||||
DebugFrameInfo.Number),
|
||||
MCSymbol *FuncBeginSym = getDWLabel("func_begin", DebugFrameInfo.Number);
|
||||
Asm->OutStreamer.EmitSymbolValue(FuncBeginSym,
|
||||
TD->getPointerSize(), 0/*AddrSpace*/);
|
||||
|
||||
|
||||
|
||||
Asm->OutStreamer.AddComment("FDE address range");
|
||||
EmitDifference(getDWLabel("func_end", DebugFrameInfo.Number),
|
||||
getDWLabel("func_begin", DebugFrameInfo.Number));
|
||||
EmitDifference(getDWLabel("func_end", DebugFrameInfo.Number), FuncBeginSym);
|
||||
|
||||
// FuncBeginSym.
|
||||
EmitFrameMoves("func_begin", DebugFrameInfo.Number, DebugFrameInfo.Moves,
|
||||
false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user