diff options
author | Eric Christopher <echristo@apple.com> | 2011-11-09 05:24:07 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-11-09 05:24:07 +0000 |
commit | dfa30e1ab243990eda4732a6dffb91e965e7a755 (patch) | |
tree | 3880482f1dcc42d2738376ddd8ad85c253785342 /lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
parent | 5786b4cdc118a7fbcdae238e264a884691ab43b7 (diff) |
Remove the pubnames section, no one consumes it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144169 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index b994ce3734..1cbe3a0102 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -56,10 +56,6 @@ class CompileUnit { /// descriptors to debug information entries using a DIEEntry proxy. DenseMap<const MDNode *, DIEEntry *> MDNodeToDIEEntryMap; - /// Globals - A map of globally visible named entities for this unit. - /// - StringMap<DIE*> Globals; - /// GlobalTypes - A map of globally visible types for this unit. /// StringMap<DIE*> GlobalTypes; @@ -86,7 +82,6 @@ public: // Accessors. unsigned getID() const { return ID; } DIE* getCUDie() const { return CUDie.get(); } - const StringMap<DIE*> &getGlobals() const { return Globals; } const StringMap<DIE*> &getGlobalTypes() const { return GlobalTypes; } const StringMap<DIE*> &getAccelNames() const { return AccelNames; } @@ -100,10 +95,6 @@ public: /// bool hasContent() const { return !CUDie->getChildren().empty(); } - /// addGlobal - Add a new global entity to the compile unit. - /// - void addGlobal(StringRef Name, DIE *Die) { Globals[Name] = Die; } - /// addGlobalType - Add a new global type to the compile unit. /// void addGlobalType(DIType Ty); |