diff options
author | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2013-08-30 08:53:09 +0000 |
---|---|---|
committer | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2013-08-30 08:53:09 +0000 |
commit | 0ebf1bb150b36128098a9f269d708361c4feebfa (patch) | |
tree | 66e16fdc2b917abcb5861f90294e0b2eb9c349ab /clang/lib/CodeGen/CGDebugInfo.h | |
parent | 58934986f220dec8b75a76c2de03db029b65f336 (diff) | |
download | bcm5719-llvm-0ebf1bb150b36128098a9f269d708361c4feebfa.tar.gz bcm5719-llvm-0ebf1bb150b36128098a9f269d708361c4feebfa.zip |
Revert r189649 because it was breaking sanitizer bots.
llvm-svn: 189660
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index 9642a83dfdd..a8ba14b8b3f 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/lib/CodeGen/CGDebugInfo.h @@ -264,13 +264,13 @@ public: CGBuilderTy &Builder); /// EmitGlobalVariable - Emit information about a global variable. - void EmitGlobalVariable(llvm::Value *VarOrInit, const VarDecl *Decl); + void EmitGlobalVariable(llvm::GlobalVariable *GV, const VarDecl *Decl); /// EmitGlobalVariable - Emit information about an objective-c interface. void EmitGlobalVariable(llvm::GlobalVariable *GV, ObjCInterfaceDecl *Decl); - /// EmitEnumConstant - Emit information about an enumerator constant - void EmitEnumConstant(const EnumConstantDecl *ECD); + /// EmitGlobalVariable - Emit global variable's debug info. + void EmitGlobalVariable(const ValueDecl *VD, llvm::Constant *Init); /// \brief - Emit C++ using directive. void EmitUsingDirective(const UsingDirectiveDecl &UD); |