diff options
author | Victor Hernandez <vhernandez@apple.com> | 2010-01-15 17:36:47 +0000 |
---|---|---|
committer | Victor Hernandez <vhernandez@apple.com> | 2010-01-15 17:36:47 +0000 |
commit | 5f03238d629c32bb0bab78d112a42293838558e9 (patch) | |
tree | f1d6c9aada113a2ab81f8751199c43a326769603 /include/llvm/Analysis | |
parent | 46a49da410a738a68ecbd2964f519251ba27fc66 (diff) | |
download | external_llvm-5f03238d629c32bb0bab78d112a42293838558e9.zip external_llvm-5f03238d629c32bb0bab78d112a42293838558e9.tar.gz external_llvm-5f03238d629c32bb0bab78d112a42293838558e9.tar.bz2 |
Revert r93504 because older uses of llvm.dbg.declare intrinsics need to be auto-upgraded
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93515 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/DebugInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index cc9514c..c626b12 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h @@ -491,6 +491,7 @@ namespace llvm { Module &M; LLVMContext& VMContext; + const Type *EmptyStructPtr; // "{}*". Function *DeclareFn; // llvm.dbg.declare Function *ValueFn; // llvm.dbg.value @@ -658,7 +659,7 @@ namespace llvm { /// Finds the dbg.declare intrinsic corresponding to this value if any. /// It looks through pointer casts too. - const DbgDeclareInst *findDbgDeclare(const Value *V); + const DbgDeclareInst *findDbgDeclare(const Value *V, bool stripCasts = true); /// Find the debug info descriptor corresponding to this global variable. Value *findDbgGlobalDeclare(GlobalVariable *V); |