llvm-project/llvm/test/Instrumentation/AddressSanitizer/X86
Reid Kleckner 92b9c6e6fe [ASan] Don't use stack malloc for 32-bit functions using inline asm
This prevents us from running out of registers in the backend.

Introducing stack malloc calls prevents the backend from recognizing the
inline asm operands as stack objects. When the backend recognizes a
stack object, it doesn't need to materialize the address of the memory
in a physical register. Instead it generates a simple SP-based memory
operand. Introducing a stack malloc forces the backend to find a free
register for every memory operand. 32-bit x86 simply doesn't have enough
registers for this to succeed in most cases.

Reviewers: kcc, samsonov

Differential Revision: http://reviews.llvm.org/D8790

llvm-svn: 233979
2015-04-02 21:44:55 +00:00
..
asm_attr.ll [asan] Generate asm instrumentation in MC. 2014-07-07 13:57:37 +00:00
asm_cfi.ll [asan-asm-instrumentation] CFI directives are generated for .S files. 2014-10-07 11:03:09 +00:00
asm_cfi.s [asan-asm-instrumentation] Fixed memory accesses with rbp as a base or an index register. 2014-10-21 10:22:27 +00:00
asm_cpuid.ll [ASan] Don't use stack malloc for 32-bit functions using inline asm 2015-04-02 21:44:55 +00:00
asm_mov.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
asm_mov.s [asan-asm-instrumentation] CFI directives are generated for .S files. 2014-10-07 11:03:09 +00:00
asm_mov_no_instrumentation.s [asan] Support x86 REP MOVS asm instrumentation. 2014-07-31 09:11:04 +00:00
asm_rep_movs.ll [asan-assembly-instrumentation] Prologue and epilogue are moved out from InstrumentMemOperand(). 2014-09-01 12:51:00 +00:00
asm_rsp_mem_op.s [asan-asm-instrumentation] Fixed memory references which includes %rsp as a base or an index register. 2014-10-13 09:37:47 +00:00
asm_swap_intel.s [asan-asm-instrumentation] CFI directives are generated for .S files. 2014-10-07 11:03:09 +00:00
bug_11395.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
lit.local.cfg Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00