1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/lib/Target/X86/AsmParser
Reid Kleckner bfbea18b59 MS inline asm: Use memory constraints for functions instead of registers
This is consistent with how we parse them in a standalone .s file, and
inline assembly shouldn't differ.

This fixes errors about requiring more registers than available in
cases like this:
  void f();
  void __declspec(naked) g() {
    __asm pusha
    __asm call f
    __asm popa
    __asm ret
  }

There are no registers available to pass the address of 'f' into the asm
blob.  The asm should now directly call 'f'.

Tests will land in Clang shortly.

llvm-svn: 214550
2014-08-01 20:21:24 +00:00
..
CMakeLists.txt AddressSanitizer instrumentation for MOV and MOVAPS. 2014-03-14 08:58:04 +00:00
LLVMBuild.txt
Makefile
X86AsmInstrumentation.cpp [asan] Support x86 REP MOVS asm instrumentation. 2014-07-31 09:11:04 +00:00
X86AsmInstrumentation.h [asan] Support x86 REP MOVS asm instrumentation. 2014-07-31 09:11:04 +00:00
X86AsmParser.cpp MS inline asm: Use memory constraints for functions instead of registers 2014-08-01 20:21:24 +00:00
X86AsmParserCommon.h X86Operand is extracted into individual header. 2014-02-28 12:28:07 +00:00
X86Operand.h AsmMatchers: Use unique_ptr to manage ownership of MCParsedAsmOperand 2014-06-08 16:18:35 +00:00