mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
Constify the DIEs used for pubname and pubtype tables. Propagate
through findAttribute etc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195290 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user