Temporarily revert r176882 as it needs to be implemented in a different

way for all platforms.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191975 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2013-10-04 19:40:33 +00:00
parent 33f362f549
commit e7099f6ff4
6 changed files with 5 additions and 60 deletions

View File

@@ -87,9 +87,6 @@ class CompileUnit {
/// corresponds to the MDNode mapped with the subprogram DIE.
DenseMap<DIE *, const MDNode *> ContainingTypeMap;
/// Offset of the CUDie from beginning of debug info section.
unsigned DebugInfoOffset;
/// getLowerBoundDefault - Return the default lower bound for an array. If the
/// DWARF version doesn't handle the language, return -1.
int64_t getDefaultLowerBound() const;
@@ -104,7 +101,6 @@ public:
uint16_t getLanguage() const { return DICompileUnit(Node).getLanguage(); }
const MDNode *getNode() const { return Node; }
DIE *getCUDie() const { return CUDie.get(); }
unsigned getDebugInfoOffset() const { return DebugInfoOffset; }
const StringMap<DIE *> &getGlobalNames() const { return GlobalNames; }
const StringMap<DIE *> &getGlobalTypes() const { return GlobalTypes; }
@@ -122,7 +118,6 @@ public:
return AccelTypes;
}
void setDebugInfoOffset(unsigned DbgInfoOff) { DebugInfoOffset = DbgInfoOff; }
/// hasContent - Return true if this compile unit has something to write out.
///
bool hasContent() const { return !CUDie->getChildren().empty(); }