[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
10 files changed