[asan] Generate asm instrumentation in MC.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 7 Jul 2014 13:57:37 +0000 (13:57 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 7 Jul 2014 13:57:37 +0000 (13:57 +0000)
commit5ba71b01d8dcd4f3bf0a17413c4ebbd27b2b3730
tree79dfe3b8a07872ba9de486ce3c679d18c611bd1e
parente3bf8ea87954e0ab210329ea5711889d94439947
[asan] Generate asm instrumentation in MC.

Generate entire ASan asm instrumentation in MC without
relying on runtime helper functions.

Patch by Yuri Gorshenin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212455 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
test/Instrumentation/AddressSanitizer/X86/asm_attr.ll
test/Instrumentation/AddressSanitizer/X86/asm_mov.ll
test/Instrumentation/AddressSanitizer/X86/asm_mov.s
test/Instrumentation/AddressSanitizer/X86/asm_mov_no_instrumentation.s
test/Instrumentation/AddressSanitizer/X86/asm_swap_intel.s