Commit 60e3583
Fix tsan/asan/hwasan/etc failures on Android
Some people run their benchmarks with sanitizers, and they should not spuriously fail. Asan and other sanitizer allocators return 0 for all mallopt calls, so the previous code was causing teh BM_CHECK to trigger.1 parent ab9383b commit 60e3583
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
913 | 913 | | |
914 | 914 | | |
915 | 915 | | |
916 | | - | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
917 | 919 | | |
918 | 920 | | |
919 | 921 | | |
920 | 922 | | |
921 | 923 | | |
922 | 924 | | |
923 | 925 | | |
924 | | - | |
| 926 | + | |
925 | 927 | | |
926 | 928 | | |
927 | 929 | | |
| |||
0 commit comments