aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFModuleDefinition.cpp
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2017-07-18 22:28:03 +0000
committerVitaly Buka <vitalybuka@google.com>2017-07-18 22:28:03 +0000
commit74443f0778669a6fbc24df65aaca5b314b6eae5d (patch)
tree2e22e63756eba1b9d9c6e63848b7c82309be6f22 /llvm/lib/Object/COFFModuleDefinition.cpp
parent08c83ea0f3955ac06b7ffee8f57de337f8be7ba6 (diff)
downloadllvm-74443f0778669a6fbc24df65aaca5b314b6eae5d.zip
llvm-74443f0778669a6fbc24df65aaca5b314b6eae5d.tar.gz
llvm-74443f0778669a6fbc24df65aaca5b314b6eae5d.tar.bz2
[asan] Copy arguments passed by value into explicit allocas for ASan
Summary: ASan determines the stack layout from alloca instructions. Since arguments marked as "byval" do not have an explicit alloca instruction, ASan does not produce red zones for them. This commit produces an explicit alloca instruction and copies the byval argument into the allocated memory so that red zones are produced. Submitted on behalf of @morehouse (Matt Morehouse) Reviewers: eugenis, vitalybuka Reviewed By: eugenis Subscribers: hiraditya, llvm-commits Differential Revision: https://reviews.llvm.org/D34789 llvm-svn: 308387
Diffstat (limited to 'llvm/lib/Object/COFFModuleDefinition.cpp')
0 files changed, 0 insertions, 0 deletions