[asan] Disable asm instrumentation on unsupported platforms.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 30 Apr 2014 14:04:31 +0000 (14:04 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 30 Apr 2014 14:04:31 +0000 (14:04 +0000)
commit55f8c07504f765159a1389945488fe15ae7d9422
tree485c45f9ca88354768a3e42b2f6d284165cb2dc4
parentee053f4f51dc4eda3701d42a68e448299e8a8b44
[asan] Disable asm instrumentation on unsupported platforms.

Only emit calls to compiler-rt asm routines on platforms where they are
present (currently limited to linux i386/x86_64).

Patch by Yuri Gorshenin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207651 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp