[compiler-rt] [ASan][Windows] Honor asan config flags on windows when set through the user function (PR #122990)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 11:02:44 PST 2025
================
@@ -460,6 +492,13 @@ static bool AsanInitInternal() {
allocator_options.SetFrom(flags(), common_flags());
InitializeAllocator(allocator_options);
+ // Apply ASan flags.
+ // NOTE: In order for options specified through `__asan_default_options` to be
+ // honored on Windows, it is necessary for those options to be configured
+ // inside the `ApplyOptions` method. See the function-level comment for
+ // `ApplyFlags` for more details.
+ ApplyFlags();
----------------
vitalybuka wrote:
Can this be done after AvoidCVE_2016_2143?
https://github.com/llvm/llvm-project/pull/122990
More information about the llvm-commits
mailing list