[ASan] Fix lifetime intrinsics handling. Now for each intrinsic we check if it descri...
authorAlexey Samsonov <samsonov@google.com>
Thu, 27 Dec 2012 08:50:58 +0000 (08:50 +0000)
committerAlexey Samsonov <samsonov@google.com>
Thu, 27 Dec 2012 08:50:58 +0000 (08:50 +0000)
commit1c8b825c4396ad9cd38f713d9e9a51adae1d4c4e
treef665d2a924ea570d07b361cbbe1d60b6d84f21f2
parent3190be9c9a9f4c69591f78ed65dd7b06dd6c80c1
[ASan] Fix lifetime intrinsics handling. Now for each intrinsic we check if it describes one of 'interesting' allocas. Assume that allocas can go through casts and phi-nodes before apperaring as llvm.lifetime arguments

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