[sancov] Leave llvm.localescape in the entry block
authorReid Kleckner <rnk@google.com>
Fri, 14 Aug 2015 16:45:42 +0000 (16:45 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 14 Aug 2015 16:45:42 +0000 (16:45 +0000)
commit458a50de93bbf31866c13460a2da6f2c4d3a83f9
tree4a66cd59aa2b61a4e2b51dc88e95e874678d7274
parent4ff88e30886351cbcb754343d6a246b8b1a8b138
[sancov] Leave llvm.localescape in the entry block

Summary: Similar to the change we applied to ASan. The same test case works.

Reviewers: samsonov

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D11961

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245067 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Instrumentation.h
lib/Transforms/Instrumentation/Instrumentation.cpp
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
test/Instrumentation/SanitizerCoverage/localescape.ll [new file with mode: 0644]