diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-04-28 17:51:05 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-04-28 17:51:05 +0000 |
commit | 109b2368507f9ddc20af3f0823f11496e0d63bc9 (patch) | |
tree | c5a5f216e0743923edb11edc93937dcc0e0105b8 /llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | |
parent | 2634d0ff5cac4ca98e1737daeb1326fca1c30a40 (diff) | |
download | llvm-109b2368507f9ddc20af3f0823f11496e0d63bc9.zip llvm-109b2368507f9ddc20af3f0823f11496e0d63bc9.tar.gz llvm-109b2368507f9ddc20af3f0823f11496e0d63bc9.tar.bz2 |
Clean up DIExpression::prependDIExpr a little. (NFC)
llvm-svn: 301662
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp index 431aad9..b034ccc 100644 --- a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp @@ -2723,7 +2723,7 @@ void FunctionStackPoisoner::processStaticAllocas() { Value *NewAllocaPtr = IRB.CreateIntToPtr( IRB.CreateAdd(LocalStackBase, ConstantInt::get(IntptrTy, Desc.Offset)), AI->getType()); - replaceDbgDeclareForAlloca(AI, NewAllocaPtr, DIB, /*Deref=*/false); + replaceDbgDeclareForAlloca(AI, NewAllocaPtr, DIB, DIExpression::NoDeref); AI->replaceAllUsesWith(NewAllocaPtr); } |