diff options
author | Stephen Hines <srhines@google.com> | 2020-09-24 17:17:57 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2020-09-24 17:17:57 -0700 |
commit | 1c33c4a26333258275cc6724a692d4ca7adc60e4 (patch) | |
tree | 8067323dc16001144b5aedef57a674827d292a9e /benchmarks/spawn/spawn_benchmarks.cpp | |
parent | 0a12075ca48c9bf6fc1a68c0446ac000c07afb42 (diff) |
Work around issues with `aligned_alloc()` and -O2.
The latest LLVM update to r399163 has exposed an issue with optimization
of `aligned_alloc()` at -O2. Invalid inputs are treated as valid, which
results in assertions being hit. This WAR is to make sure that the test
keeps running while we fix the issue upstream.
Bug: http://b/169206016
Bug: http://b/155835175
Test: atest malloc_hooks_system_tests:malloc_hooks_system_tests.MallocHooksTest#aligned_alloc_hook_error -- --abi x86
Change-Id: I74b290b73826481c62db3a99ac1a690c8a8a8db3
Diffstat (limited to 'benchmarks/spawn/spawn_benchmarks.cpp')
0 files changed, 0 insertions, 0 deletions