[ASan] Disable instrumentation for inalloca variables.
authorAlexey Samsonov <vonosmas@gmail.com>
Thu, 5 Nov 2015 21:18:41 +0000 (21:18 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Thu, 5 Nov 2015 21:18:41 +0000 (21:18 +0000)
commitf17835b5ced2acdcbba68a4de2fe57d9b662b817
tree505ca0fe0e45fa8fc0bc4e7887cf42354b486181
parentf3e49f53a8544c8fc9293577a5955e9e72e6bc28
[ASan] Disable instrumentation for inalloca variables.

inalloca variables were not treated as static allocas, therefore didn't
participate in regular stack instrumentation. We don't want them to
participate in dynamic alloca instrumentation as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252213 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/AddressSanitizer.cpp
test/Instrumentation/AddressSanitizer/instrument-dynamic-allocas.ll