diff options
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 0c3964fd5f..d8719efabf 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -88,6 +88,7 @@ class CodeGenModule { /// decl, they should be bitcasted on retrieval. Also note that the /// globals are keyed on their source name, not the global name /// (which may change with attributes such as asm-labels). + /// This key to this map should be generated using getMangledName(). llvm::DenseMap<IdentifierInfo*, llvm::GlobalValue*> GlobalDeclMap; /// Aliases - List of aliases in module. These cannot be emitted @@ -257,6 +258,9 @@ public: const Decl *TargetDecl, AttributeListType &PAL); + IdentifierInfo *getMangledName(const NamedDecl *ND) const; + + private: /// SetFunctionAttributesForDefinition - Set function attributes /// specific to a function definition. |