We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb5037c commit 28f367dCopy full SHA for 28f367d
compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc
@@ -302,7 +302,7 @@ void InitializePlatform() {
302
Report("WARNING: Program is run with randomized virtual address space,"
303
" which wouldn't work with ThreadSanitizer.\n");
304
Report("Re-execing with fixed virtual address space.\n");
305
- CHECK(personality(old_personality | ADDR_NO_RANDOMIZE) != -1);
+ CHECK_NE(-1, personality(old_personality | ADDR_NO_RANDOMIZE));
306
reexec = true;
307
}
308
#endif
0 commit comments