File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -498,10 +498,10 @@ static void AsanInitInternal() {
498
498
force_interface_symbols (); // no-op.
499
499
SanitizerInitializeUnwinder ();
500
500
501
- if ( CAN_SANITIZE_LEAKS) {
502
- __lsan::InitCommonLsan ();
503
- InstallAtExitCheckLeaks ();
504
- }
501
+ # if CAN_SANITIZE_LEAKS
502
+ __lsan::InitCommonLsan ();
503
+ InstallAtExitCheckLeaks ();
504
+ # endif
505
505
506
506
#if CAN_SANITIZE_UB
507
507
__ubsan::InitAsPlugin ();
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ void ProcessPlatformSpecificAllocations(Frontier *frontier) {}
51
51
// behavior and causes rare race conditions.
52
52
void HandleLeaks () {}
53
53
54
- // This is defined differently in asan_fuchsiap .cpp and lsan_fuchsia.cpp.
54
+ // This is defined differently in asan_fuchsia .cpp and lsan_fuchsia.cpp.
55
55
bool UseExitcodeOnLeak ();
56
56
57
57
int ExitHook (int status) {
You can’t perform that action at this time.
0 commit comments