summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-04-28 17:51:05 +0000
committerAdrian Prantl <aprantl@apple.com>2017-04-28 17:51:05 +0000
commit109b2368507f9ddc20af3f0823f11496e0d63bc9 (patch)
treec5a5f216e0743923edb11edc93937dcc0e0105b8 /llvm/lib/Transforms/Instrumentation
parent2634d0ff5cac4ca98e1737daeb1326fca1c30a40 (diff)
downloadbcm5719-llvm-109b2368507f9ddc20af3f0823f11496e0d63bc9.tar.gz
bcm5719-llvm-109b2368507f9ddc20af3f0823f11496e0d63bc9.zip
Clean up DIExpression::prependDIExpr a little. (NFC)
llvm-svn: 301662
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation')
-rw-r--r--llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
index 431aad97e93..b034ccc4693 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);
}
OpenPOWER on IntegriCloud