summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit9c58f317da17de32afeefdd48acad8779a480362 (patch)
tree08b177c64d44acbd0999b35eefc94ee6da014e02 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
parent0e2d162d1ee3b6c9c41404edcc68419be93ba459 (diff)
downloadbcm5719-llvm-9c58f317da17de32afeefdd48acad8779a480362.tar.gz
bcm5719-llvm-9c58f317da17de32afeefdd48acad8779a480362.zip
Migrate addGlobalName to the .cpp file as an intermediate step
to further work. llvm-svn: 191113
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index ecffb257025..980ebc8b625 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/llvm/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];
OpenPOWER on IntegriCloud