Teach AddressSanitizer to create basic blocks in a more natural order.
authorChandler Carruth <chandlerc@gmail.com>
Mon, 16 Jul 2012 08:58:53 +0000 (08:58 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 16 Jul 2012 08:58:53 +0000 (08:58 +0000)
commitc3c8db9d25e69083cec0c2d4a01735cd9e01269f
tree5f677cfa1b6471bb519bd1517ac8f78ece4a7184
parent2f58533d1ec551878b770f8812474b836c32fd6e
Teach AddressSanitizer to create basic blocks in a more natural order.
This is particularly useful to the backend code generators which try to
process things in the incoming function order.

Also, cleanup some uses of IRBuilder to be a bit simpler and more clear.

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