diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2009-06-22 08:08:35 +0000 | 
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2009-06-22 08:08:35 +0000 | 
| commit | b897c8660c4ff7037dde81b9645737bc1c992abe (patch) | |
| tree | b6403365e77095a79062d3379c9e6aea0df5f088 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 7ef7bab7e3d06f660b059b903c231f100bb13cc5 (diff) | |
Notes
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
| -rw-r--r-- | lib/CodeGen/CodeGenFunction.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index 672f6da502b18..f10a08f9db86e 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -199,7 +199,7 @@ void CodeGenFunction::StartFunction(const Decl *D, QualType RetTy,  void CodeGenFunction::GenerateCode(const FunctionDecl *FD,                                     llvm::Function *Fn) {    // Check if we should generate debug info for this function. -  if (CGM.getDebugInfo() && !FD->hasAttr<NodebugAttr>()) +  if (CGM.getDebugInfo() && !FD->hasAttr<NodebugAttr>(getContext()))      DebugInfo = CGM.getDebugInfo();    FunctionArgList Args; | 
