LTO+Debug Info: revert r182791.

Since the testing case uses ref_addr, which requires version 3+ to work,
we will solve the dwarf version issue first.

This patch also causes failures in one of the bots. I will update the patch
accordingly in my next attempt.

rdar://13926659


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182867 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Manman Ren
2013-05-29 17:16:59 +00:00
parent a9a8a128f8
commit 742671bf8e
4 changed files with 13 additions and 171 deletions

View File

@@ -402,9 +402,6 @@ class DwarfDebug {
// Whether or not we're emitting info for older versions of gdb on darwin.
bool IsDarwinGDBCompat;
// Whether or not we use ref_addr in the generated DWARF.
unsigned UseRefAddr;
// DWARF5 Experimental Options
bool HasDwarfAccelTables;
bool HasSplitDwarf;
@@ -604,9 +601,6 @@ private:
/// \brief Return Label immediately following the instruction.
MCSymbol *getLabelAfterInsn(const MachineInstr *MI);
/// \brief Search all compile units to find the SP DIE for the given MDNode.
DIE *findSPDieInAllCUs(const MDNode *N);
public:
//===--------------------------------------------------------------------===//
// Main entry points.
@@ -646,9 +640,6 @@ public:
/// output to the limitations of darwin gdb.
bool useDarwinGDBCompat() { return IsDarwinGDBCompat; }
bool getUseRefAddr() { return UseRefAddr; }
void setUseRefAddr(bool RefAddr) { UseRefAddr = RefAddr; }
// Experimental DWARF5 features.
/// \brief Returns whether or not to emit tables that dwarf consumers can