[cfi] Export __cfi_check when linking with -fsanitize-cfi-cross-dso.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 29 Aug 2016 23:42:34 +0000 (23:42 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 29 Aug 2016 23:42:34 +0000 (23:42 +0000)
commit8dbbf56aa104173e7defd9bce10603e6aa678810
tree38ce60bd502d6e113fa7f06debc23990db8cce6e
parent89876673cd45cc9da6aa971be1a947c3e6e67f28
[cfi] Export __cfi_check when linking with -fsanitize-cfi-cross-dso.

Multi-DSO CFI model requires every DSO to export a __cfi_check function.

llvm-svn: 280031
clang/include/clang/Driver/SanitizerArgs.h
clang/lib/Driver/Tools.cpp
clang/test/Driver/sanitizer-ld.c