Skip to content

Commit 91519af

Browse files
committed
AddressSanitizer: detect_leaks is not supported on this platform (macOS)
1 parent 5857329 commit 91519af

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

sanitizers/sanitizers.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,6 @@ extern "C" {
3434
}
3535
}
3636

37-
// NOLINTNEXTLINE(bugprone-reserved-identifier)
38-
const char* __asan_default_options() {
39-
return "detect_leaks=1";
40-
}
41-
42-
// NOLINTNEXTLINE(bugprone-reserved-identifier)
43-
const char* __ubsan_default_options() {
44-
return "print_stacktrace=1";
45-
}
46-
4737
// NOLINTNEXTLINE(bugprone-reserved-identifier)
4838
void __sanitizer_on_print(const char* str) {
4939
std::lock_guard<std::mutex> lock(sanitizerMutex);

0 commit comments

Comments
 (0)