Skip to content

Commit f0cd433

Browse files
committed
nits
1 parent 76548b0 commit f0cd433

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -966,11 +966,10 @@ static void DisableMmapExcGuardExceptions() {
966966
"WARN: task_set_exc_guard_behavior returned %d (%s), "
967967
"mmap may fail unexpectedly.\n",
968968
res, mach_error_string(res));
969-
if (res == KERN_DENIED) {
969+
if (res == KERN_DENIED)
970970
Report(
971971
"HINT: Check that task_set_exc_guard_behavior is allowed by "
972972
"sandbox.\n");
973-
}
974973
}
975974
}
976975

compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,9 +505,9 @@ static void ChooseSymbolizerTools(IntrusiveList<SymbolizerTool> *list,
505505
}
506506

507507
# if SANITIZER_APPLE
508-
if (list.size() == 0) {
508+
if (list.empty()) {
509509
Report(
510-
"WARN: No external symbolizers found. Symbols will be missing or "
510+
"WARN: No external symbolizers found. Symbols may be missing or "
511511
"unreliable.\n");
512512
Report(
513513
"HINT: Is PATH set? Does sandbox allow file-read of /usr/bin/atos?\n");

0 commit comments

Comments
 (0)