diff options
author | Vitaly Buka <vitalybuka@google.com> | 2016-08-19 22:12:58 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2016-08-19 22:12:58 +0000 |
commit | e149b392a894c8263e681bb4f2b4d5eae7fddafc (patch) | |
tree | 4f6afc0c42738de94428de84287a59c85c7cdb88 /llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | |
parent | a36f46363f2e1205c17ff92b63412ea26ac65fb3 (diff) | |
download | bcm5719-llvm-e149b392a894c8263e681bb4f2b4d5eae7fddafc.tar.gz bcm5719-llvm-e149b392a894c8263e681bb4f2b4d5eae7fddafc.zip |
Revert "[asan] Add support of lifetime poisoning into ComputeASanStackFrameLayout"
This reverts commit r279020.
Speculative revert in hope to fix asan test on arm.
llvm-svn: 279332
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp index 3ad8e145815..58e552710b7 100644 --- a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp @@ -2079,10 +2079,7 @@ void FunctionStackPoisoner::poisonStack() { for (AllocaInst *AI : AllocaVec) { ASanStackVariableDescription D = {AI->getName().data(), ASan.getAllocaSizeInBytes(*AI), - 0, - AI->getAlignment(), - AI, - 0}; + AI->getAlignment(), AI, 0}; SVD.push_back(D); } // Minimal header size (left redzone) is 4 pointers, |