diff options
author | Jay Foad <jay.foad@gmail.com> | 2014-11-21 21:25:09 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2014-11-21 21:25:09 +0000 |
commit | 8793336ca194c560f7930ae598200371d3dd40f4 (patch) | |
tree | 05014d19881cee9533237a5aad4374327b90ba4b /test/CMakeLists.txt | |
parent | 40022f11ec23bfd556f8b819817d36a91864e548 (diff) |
[ASan] Get fake stack code working with GCC 4.8.2.
Summary:
TestCases/Linux/heavy_uar_test.cc was failing on my
PowerPC64 box with GCC 4.8.2, because the compiler recognised
a memset-like loop and turned it into a call to memset, which
got intercepted by __asan_memset, which got upset because it was
being called on an address in high shadow memory.
Use break_optimization to stop the compiler from doing this.
Reviewers: kcc, samsonov
Reviewed By: kcc
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6266
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@222572 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions