[asan] Change dynamic alloca instrumentation to only consider allocas that are domina...
authorYury Gribov <y.gribov@samsung.com>
Mon, 1 Dec 2014 08:47:58 +0000 (08:47 +0000)
committerYury Gribov <y.gribov@samsung.com>
Mon, 1 Dec 2014 08:47:58 +0000 (08:47 +0000)
commit434494196bc04087748844e2c9095a7d8ada88cb
treee7b847bcd2ceeda445d7a65203df8465cb4ba2ef
parenteed2e8bf98353a94f50fc98d7505fdca2a2467cc
[asan] Change dynamic alloca instrumentation to only consider allocas that are dominating all exits from function.

Reviewed in http://reviews.llvm.org/D6412

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222991 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/AddressSanitizer.cpp
test/Instrumentation/AddressSanitizer/undecidable-dynamic-alloca-1.ll [new file with mode: 0644]