mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-03 19:32:35 +00:00
Updated LLVM/Clang to take a patch that fixes some
ARM assembly syntax in LLVM. This allows LLDB to build with the latest Clang. llvm-svn: 152965
This commit is contained in:
parent
a7f457a5ea
commit
7de79f3297
22
lldb/scripts/llvm.fix-arm-jit-info.diff
Normal file
22
lldb/scripts/llvm.fix-arm-jit-info.diff
Normal file
@ -0,0 +1,22 @@
|
||||
Index: lib/Target/ARM/ARMJITInfo.cpp
|
||||
===================================================================
|
||||
--- lib/Target/ARM/ARMJITInfo.cpp (revision 152547)
|
||||
+++ lib/Target/ARM/ARMJITInfo.cpp (revision 152548)
|
||||
@@ -61,7 +61,7 @@
|
||||
// concerned, so we can't just preserve the callee saved regs.
|
||||
"stmdb sp!, {r0, r1, r2, r3, lr}\n"
|
||||
#if (defined(__VFP_FP__) && !defined(__SOFTFP__))
|
||||
- "fstmfdd sp!, {d0, d1, d2, d3, d4, d5, d6, d7}\n"
|
||||
+ "vstmdb sp!, {d0, d1, d2, d3, d4, d5, d6, d7}\n"
|
||||
#endif
|
||||
// The LR contains the address of the stub function on entry.
|
||||
// pass it as the argument to the C part of the callback
|
||||
@@ -85,7 +85,7 @@
|
||||
//
|
||||
#if (defined(__VFP_FP__) && !defined(__SOFTFP__))
|
||||
// Restore VFP caller-saved registers.
|
||||
- "fldmfdd sp!, {d0, d1, d2, d3, d4, d5, d6, d7}\n"
|
||||
+ "vldmia sp!, {d0, d1, d2, d3, d4, d5, d6, d7}\n"
|
||||
#endif
|
||||
//
|
||||
// We need to exchange the values in slots 0 and 1 so we can
|
Loading…
Reference in New Issue
Block a user