search for: dwarf_cfa

Displaying 4 results from an estimated 4 matches for "dwarf_cfa".

2007 Aug 22
1
[LLVMdev] RFC: Patch for CFA on Darwin
...adding an offset of type i32 to a pointer. This is > fine if pointers are 32-bits, but we get an assert if the types are > different. By converting the cfa_offset to a pointer, we get it to be > that size. Please ignore my prev. e-mail. The code breaks at least 32-bit stuff. The arg of eh_dwarf_cfa is i32, how it can be pointer? -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2007 Aug 23
1
[LLVMdev] RFC: Patch for CFA on Darwin
...ar to fix codegen :) Only slightly tested. If this looks ok to you - I'll commit tomorrow. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University. -------------- next part -------------- A non-text attachment was scrubbed... Name: dwarf_cfa.diff Type: text/x-patch Size: 1442 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070823/8cab6c76/attachment.bin>
2007 Aug 23
1
[LLVMdev] RFC: Patch for CFA on Darwin
Bill, > The built-in dwarf_cfa doesn't take an argument. It returns a pointer. Ah. Sorry for confusion: gcc's __builtin_draft_cfa doesn't have any argument LLVM's eh_dwarf_cfa intrinsic has extra "offset" argument, which is i32, because we have to propagate some information from GCC to LLVM. > But...
2007 Dec 08
0
[LLVMdev] Darwin vs exceptions
...That's an easy problem. I just implemented __builtin_return_address > on PPC, at least builtin_return_address(0), please let me know if that > is sufficient. There are bunch of another builtins required for eh to execute properly. The 3 most important one are: - eh_return - unwind_init - dwarf_cfa The first two precisely match to the gcc's ones, the third - slightly differs, because is catches some extra information from the frontend. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.