mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 17:58:22 +00:00
There is no need to track compile unit offsets if there is only one compile unit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101315 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7a996b2b05
commit
d33402629e
@ -2450,7 +2450,6 @@ void DwarfDebug::computeSizeAndOffsets() {
|
||||
sizeof(int8_t); // Pointer Size (in bytes)
|
||||
|
||||
computeSizeAndOffset(ModuleCU->getCUDie(), Offset, true);
|
||||
CompileUnitOffsets[ModuleCU] = 0;
|
||||
}
|
||||
|
||||
/// EmitSectionSym - Switch to the specified MCSection and emit an assembler
|
||||
|
@ -193,11 +193,6 @@ class DwarfDebug {
|
||||
/// instruction.
|
||||
DenseMap<const MachineInstr *, MCSymbol *> InsnAfterLabelMap;
|
||||
|
||||
/// CompileUnitOffsets - A vector of the offsets of the compile units. This is
|
||||
/// used when calculating the "origin" of a concrete instance of an inlined
|
||||
/// function.
|
||||
DenseMap<CompileUnit *, unsigned> CompileUnitOffsets;
|
||||
|
||||
/// Previous instruction's location information. This is used to determine
|
||||
/// label location to indicate scope boundries in dwarf debug info.
|
||||
DebugLoc PrevInstLoc;
|
||||
|
Loading…
Reference in New Issue
Block a user