commit | 8a1dd56a284de3bb94ebcfaace49266bdf0d26c1 | [log] [tgz] |
---|---|---|
author | Alexander Potapenko <glider@google.com> | Wed Jul 25 09:18:43 2012 +0000 |
committer | Alexander Potapenko <glider@google.com> | Wed Jul 25 09:18:43 2012 +0000 |
tree | 3a30d24075b9525f91f316618eddb51376543d63 | |
parent | 853733e772b2885d93fdf994dedc4a1b5dc1369e [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160712 91177308-0d34-0410-b5e6-96231b3b80d8