Revert r160254 temporarily.
authorChandler Carruth <chandlerc@gmail.com>
Mon, 16 Jul 2012 10:01:02 +0000 (10:01 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 16 Jul 2012 10:01:02 +0000 (10:01 +0000)
commit349f14c72cbcd3c50091d20a874967aca5f2f746
tree7c7e2bfc7763da9c9ddbe86a375a0438199d1384
parentc3c8db9d25e69083cec0c2d4a01735cd9e01269f
Revert r160254 temporarily.

It turns out that ASan relied on the at-the-end block insertion order to
(purely by happenstance) disable some LLVM optimizations, which in turn
start firing when the ordering is made more "normal". These
optimizations in turn merge many of the instrumentation reporting calls
which breaks the return address based error reporting in ASan.

We're looking at several different options for fixing this.

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