Skip to content
Commit 9bac1ced authored by Alexander Potapenko's avatar Alexander Potapenko
Browse files

Make __asan_default_options a weak function that returns a const char*.

Users may define it to override the default ASan options.
This function has to be marked with __attribute__((no_address_safety_analysis)), because it is called before ASan is fully initialized.

Add an output test checking the __asan_default_options functionality.

llvm-svn: 160712
parent 0b875a0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment