diff options
-rw-r--r-- | lib/CodeGen/CGDebugInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h index 9f25812406..b6a35449d8 100644 --- a/lib/CodeGen/CGDebugInfo.h +++ b/lib/CodeGen/CGDebugInfo.h @@ -130,6 +130,9 @@ public: /// EmitGlobalVariable - Emit information about a global variable. void EmitGlobalVariable(llvm::GlobalVariable *GV, const VarDecl *decl); + +private: + /// getOrCreateCompileUnit - Get the compile unit from the cache or create a /// new one if necessary. llvm::CompileUnitDesc *getOrCreateCompileUnit(SourceLocation loc); |