[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)
commit6fa6c677cc2349835f788c0be137f1054accdda5
tree54711b9d7e4ef3e699ed4a037454eaa85f96b206
parentd948a5f3c34e7868ce8fec07b0e2d267db351258
[asan] Generate asm instrumentation in MC.

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

Patch by Yuri Gorshenin.

llvm-svn: 212455
llvm/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
llvm/test/Instrumentation/AddressSanitizer/X86/asm_attr.ll
llvm/test/Instrumentation/AddressSanitizer/X86/asm_mov.ll
llvm/test/Instrumentation/AddressSanitizer/X86/asm_mov.s
llvm/test/Instrumentation/AddressSanitizer/X86/asm_mov_no_instrumentation.s
llvm/test/Instrumentation/AddressSanitizer/X86/asm_swap_intel.s