llvm-project
f10eae89 - Because all DLLs get initialized before the main module

Commit
1 year ago
Because all DLLs get initialized before the main module weak functions are registered after the asan runtime initializes. This means __asan_default_options isn't available during asan runtime initialization. Thus we split asan flag processing into two parts and register a callback for the second part that's executed after __asan_default_options is registered. Co-Authored-By: Amy Wishnousky <amyw@microsoft.com>
Author
Charlie Barto
Committer
Charlie Barto
Parents
Loading