Displaying 1 result from an estimated 1 matches for "arg_pointer_cfa_offset".
2007 Aug 22
0
[LLVMdev] RFC: Patch for CFA on Darwin
Hi all,
Here's a potential patch for LLVM-GCC:
Index: llvm-convert.cpp
===================================================================
--- llvm-convert.cpp (revision 41260)
+++ llvm-convert.cpp (working copy)
@@ -4240,11 +4240,12 @@
return false;
int cfa_offset = ARG_POINTER_CFA_OFFSET(0);
-
- Result = Builder.CreateCall(Intrinsic::getDeclaration(TheModule,
- Intrinsic::eh_dwarf_cfa),
- ConstantInt::get(Type::Int32Ty, cfa_offset));
-
+ Result =
+ Builder.CreateCall(Intrinsic::getDeclaration(The...