[LLVMdev] x86 unwind support

Kenneth Uildriks kennethuil at gmail.com
Thu Jul 16 16:47:34 PDT 2009


Just pulled down libunwind 0.99.  README says I'm out of luck on x86
as far as longjmp goes.

On Thu, Jul 16, 2009 at 11:52 AM, Luke
Dalessandro<luked at cs.rochester.edu> wrote:
> Kenneth Uildriks wrote:
>> 3. Perhaps a pass that lowers unwinds to an EH intrinsic?  Would that
>> map well without adding more overhead than the current setjmp/longjmp
>> lowering pass?
>
> In the past there have been suggestions that a good approach would be to
> target the libunwind (http://www.nongnu.org/libunwind/) library
> interface in a lowering pass. This could provide both low "availability"
> overhead and low "use" overhead.
>
> If libunwind had setjmp/longjmp implementations for your platform (I
> think they're currently only available in IA64), then it would be
> trivial to use a setjmp/longjmp lowering pass and get what you want.
>
> I keep wanting to do this but it always seems to get bumped off of my
> critical path.
>
> Luke
>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list