Add CodeGen support for the nodebug attribute.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64445 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index ce4a424..5888055 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -55,6 +55,7 @@
namespace CodeGen {
class CodeGenModule;
class CodeGenTypes;
+ class CGDebugInfo;
class CGFunctionInfo;
class CGRecordLayout;
@@ -151,6 +152,8 @@
void EmitBranchThroughCleanup(llvm::BasicBlock *Dest);
private:
+ CGDebugInfo* DebugInfo;
+
/// LabelIDs - Track arbitrary ids assigned to labels for use in implementing
/// the GCC address-of-label extension and indirect goto. IDs are assigned to
/// labels inside getIDForAddrOfLabel().
@@ -228,6 +231,7 @@
CodeGenFunction(CodeGenModule &cgm);
ASTContext &getContext() const;
+ CGDebugInfo *getDebugInfo() { return DebugInfo; }
void GenerateObjCMethod(const ObjCMethodDecl *OMD);