mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
Remove more dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181656 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a6e31cf69e
commit
baf81af759
@ -1677,9 +1677,6 @@ void DwarfDebug::endFunction(const MachineFunction *MF) {
|
|||||||
if (!MF->getTarget().Options.DisableFramePointerElim(*MF))
|
if (!MF->getTarget().Options.DisableFramePointerElim(*MF))
|
||||||
TheCU->addFlag(CurFnDIE, dwarf::DW_AT_APPLE_omit_frame_ptr);
|
TheCU->addFlag(CurFnDIE, dwarf::DW_AT_APPLE_omit_frame_ptr);
|
||||||
|
|
||||||
DebugFrames.push_back(FunctionDebugFrameInfo(Asm->getFunctionNumber(),
|
|
||||||
MMI->getFrameMoves()));
|
|
||||||
|
|
||||||
// Clear debug info
|
// Clear debug info
|
||||||
for (DenseMap<LexicalScope *, SmallVector<DbgVariable *, 8> >::iterator
|
for (DenseMap<LexicalScope *, SmallVector<DbgVariable *, 8> >::iterator
|
||||||
I = ScopeVariables.begin(), E = ScopeVariables.end(); I != E; ++I)
|
I = ScopeVariables.begin(), E = ScopeVariables.end(); I != E; ++I)
|
||||||
|
@ -377,16 +377,6 @@ class DwarfDebug {
|
|||||||
// body.
|
// body.
|
||||||
DebugLoc PrologEndLoc;
|
DebugLoc PrologEndLoc;
|
||||||
|
|
||||||
struct FunctionDebugFrameInfo {
|
|
||||||
unsigned Number;
|
|
||||||
std::vector<MachineMove> Moves;
|
|
||||||
|
|
||||||
FunctionDebugFrameInfo(unsigned Num, const std::vector<MachineMove> &M)
|
|
||||||
: Number(Num), Moves(M) {}
|
|
||||||
};
|
|
||||||
|
|
||||||
std::vector<FunctionDebugFrameInfo> DebugFrames;
|
|
||||||
|
|
||||||
// Section Symbols: these are assembler temporary labels that are emitted at
|
// Section Symbols: these are assembler temporary labels that are emitted at
|
||||||
// the beginning of each supported dwarf section. These are used to form
|
// the beginning of each supported dwarf section. These are used to form
|
||||||
// section offsets and are created by EmitSectionLabels.
|
// section offsets and are created by EmitSectionLabels.
|
||||||
|
Loading…
Reference in New Issue
Block a user