commit | 0aadd9fe6d96add8693e8aa81c07835b96711ac7 | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Thu Jul 07 14:09:43 2016 -0700 |
committer | Anna Zaks <ganna@apple.com> | Thu Jul 07 14:09:43 2016 -0700 |
tree | e904f961bb02a0d619b31c9baedd72fc6c2aea1e | |
parent | 6d543a87a82ac15fb59cf9d10add80689bed992b [diff] |
[asan] Add support for dead code stripping (compiler-rt part) Implement a new way global variables are registered making ASan global buffer overflow compatible with -dead-strip linker option. We disable the new registration mode by default. This will allow us to catch global variable overflows in ASan SWBs and unblock kernel sanitizer development, while still not exposing all of the users to the new mode this late in the development cycle. rdar://problem/15424799