[LLVMdev] RFC: Patch for CFA on Darwin
Anton Korobeynikov
asl at math.spbu.ru
Wed Aug 22 16:59:17 PDT 2007
Bill,
> The reason for it: when going to calculate the CFA in LLVM, the
> original code was 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.
More information about the llvm-dev
mailing list