diff options
author | Eric Christopher <echristo@gmail.com> | 2013-11-21 00:48:22 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-11-21 00:48:22 +0000 |
commit | 0fe676a243dabc20a660f2332d7072f69c664c42 (patch) | |
tree | 59cf054accbda1f62a7097defbaadaffba7a7b4f /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
parent | 2a10b6401bebbea2523adef5277fb09fde75f587 (diff) | |
download | bcm5719-llvm-0fe676a243dabc20a660f2332d7072f69c664c42.tar.gz bcm5719-llvm-0fe676a243dabc20a660f2332d7072f69c664c42.zip |
Constify the DIEs used for pubname and pubtype tables. Propagate
through findAttribute etc.
llvm-svn: 195290
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index 3a0c6be0acf..21153862d77 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -66,11 +66,11 @@ class CompileUnit { /// GlobalNames - A map of globally visible named entities for this unit. /// - StringMap<DIE *> GlobalNames; + StringMap<const DIE *> GlobalNames; /// GlobalTypes - A map of globally visible types for this unit. /// - StringMap<DIE *> GlobalTypes; + StringMap<const DIE *> GlobalTypes; /// AccelNames - A map of names for the name accelerator table. /// @@ -107,8 +107,8 @@ public: uint16_t getLanguage() const { return Language; } DICompileUnit getNode() const { return Node; } DIE *getCUDie() const { return CUDie.get(); } - const StringMap<DIE *> &getGlobalNames() const { return GlobalNames; } - const StringMap<DIE *> &getGlobalTypes() const { return GlobalTypes; } + const StringMap<const DIE *> &getGlobalNames() const { return GlobalNames; } + const StringMap<const DIE *> &getGlobalTypes() const { return GlobalTypes; } const StringMap<std::vector<const DIE *> > &getAccelNames() const { return AccelNames; |