[asan] make sure that the crash callbacks do not get merged (Chandler's idea: insert...
authorKostya Serebryany <kcc@google.com>
Fri, 20 Jul 2012 09:54:50 +0000 (09:54 +0000)
committerKostya Serebryany <kcc@google.com>
Fri, 20 Jul 2012 09:54:50 +0000 (09:54 +0000)
commitf7b08226eb44458f6f38cbeaca527028803c725a
tree25e1016fc56bc45a0f37f1dc5843d1397c211cb8
parentf654554ee0693770308e187df9d411c8a51bebde
[asan] make sure that the crash callbacks do not get merged (Chandler's idea: insert an empty InlineAsm). Change the order in which the new BBs are inserted: the slow path BB is insert between old BBs, the crash BB is inserted at the end. Don't create an empty BB (introduced by recent commits). Update the test. The experimental code that does manual crash callback merge will most likely be deleted later.

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