llvm-project/compiler-rt/test/asan
Florian Hahn 8a3d75a760
[ASan] Add read to large_func_test.cpp to prevent optimization.
After e5822ded56, the call to LargeFunction can be optimized out, as x
is never accessed in main. This is causing the test to fail, because the
out-of-bounds access won't be executed.

Adding an extra read and returning the value should prevent the
optimizer from removing the call.
2022-03-16 17:00:32 +00:00
..
TestCases [ASan] Add read to large_func_test.cpp to prevent optimization. 2022-03-16 17:00:32 +00:00
Unit [test] Fix asan dynamic unit tests with per-target runtime dirs 2021-10-14 16:47:25 -04:00
CMakeLists.txt [test] Fix asan dynamic unit tests with per-target runtime dirs 2021-10-14 16:47:25 -04:00
lit.cfg.py [Sanitizer] Disable LSan when testing on iOS simulators 2021-12-16 12:37:45 -08:00
lit.site.cfg.py.in [sanitizer] Disable fast_unwind_on_malloc as default for arm-linux-gnu 2020-10-12 14:36:08 -03:00