[PATCH] Fix __builtin_setjmp in combination with sjlj exception handling.

Matthias Braun matze at braunis.de
Thu May 7 17:06:20 PDT 2015


The thing is eh_sjlj_longjmp was never used by llvms sjlj handling code and the implementation in the X86 target was for a __builtin_setjmp handling and would not have worked with llvms current sjlj exception handling code. So introducing a new intrinsic for eh_sjlj makes alot of sense.

As a followup I created http://reviews.llvm.org/D9589 which should make this obvious that they are used to implement __builtin_setjmp and __builtin_longjmp by renaming the intrinsics to lightweight_{setjmp|longjmp}.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9313

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list