summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-09-20 22:20:55 +0000
committerEric Christopher <echristo@gmail.com>2013-09-20 22:20:55 +0000
commit50d37a4e569536485ace9131fa6726a36c8e0d87 (patch)
treefda8ad88784887cbe48c2f4d60e4adb2f2331f96 /lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
parent19a6f1133fbc01d18bd07cdc082e9488d731bcbc (diff)
downloadllvm-50d37a4e569536485ace9131fa6726a36c8e0d87.tar.gz
llvm-50d37a4e569536485ace9131fa6726a36c8e0d87.tar.bz2
llvm-50d37a4e569536485ace9131fa6726a36c8e0d87.tar.xz
Migrate addGlobalName to the .cpp file as an intermediate step
to further work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191113 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index ecffb25702..980ebc8b62 100644
--- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
@@ -129,13 +129,12 @@ public:
/// addGlobalName - Add a new global entity to the compile unit.
///
- void addGlobalName(StringRef Name, DIE *Die) { GlobalNames[Name] = Die; }
+ void addGlobalName(StringRef Name, DIE *Die);
/// addGlobalType - Add a new global type to the compile unit.
///
void addGlobalType(DIType Ty);
-
/// addAccelName - Add a new name to the name accelerator table.
void addAccelName(StringRef Name, DIE *Die) {
std::vector<DIE*> &DIEs = AccelNames[Name];