We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
__sanitizer_set_report_path
1 parent f19714d commit a449ffaCopy full SHA for a449ffa
compiler-rt/lib/asan/asan_rtl.cpp
@@ -415,8 +415,6 @@ void ApplyFlags() {
415
SetCanPoisonMemory(flags()->poison_heap);
416
SetMallocContextSize(common_flags()->malloc_context_size);
417
418
- __sanitizer_set_report_path(common_flags()->log_path);
419
-
420
__asan_option_detect_stack_use_after_return =
421
flags()->detect_stack_use_after_return;
422
@@ -461,6 +459,7 @@ static bool AsanInitInternal() {
461
459
SetCheckUnwindCallback(CheckUnwind);
462
460
SetPrintfAndReportCallback(AppendToErrorMessageBuffer);
463
+ __sanitizer_set_report_path(common_flags()->log_path);
464
__sanitizer::InitializePlatformEarly();
465
466
// Setup internal allocator callback.
0 commit comments