search for: cc_call

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

2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
...pr 12, 2015, at 1:09 AM, Christian Schafmeister <chris.schaf at verizon.net> wrote: > I’ve tried every reasonable combination of disabling nounwind and enabling uwtable - it doesn’t fix the problem. > > Here is a copy of the most recent Module with the uwtable attribute attached to cc_call and the function that doesn’t propagate the exception “cl->UNNAMED-LAMBDA” > > https://gist.github.com/drmeister/b97dec956c6ee9ffeb75 > > > > On Apr 12, 2015, at 12:58 AM, Christian Schafmeister <chris.schaf at verizon.net> wrote: > >> Logan, >> >&...
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
...ngs up to add the “uwtable” function attribute to every function that I generate - a current module looks like this: https://gist.github.com/drmeister/107a84d3d5023ebf13a8 > On line 617 is the function (now it has the "uwtable" attribute) that is not propagating an exception thrown in cc_call on line 642. > > A couple of questions: the prototype for cc_call on line 559 has the function attribute “nounwind” - I should probably remove that - correct? > > When I load the bitcode file for this module and then dump it just before it is JITted, the “uwtable” attribute has disap...
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
...:09 AM, Christian Schafmeister <chris.schaf at verizon.net> wrote: > >> I’ve tried every reasonable combination of disabling nounwind and enabling uwtable - it doesn’t fix the problem. >> >> Here is a copy of the most recent Module with the uwtable attribute attached to cc_call and the function that doesn’t propagate the exception “cl->UNNAMED-LAMBDA” >> >> https://gist.github.com/drmeister/b97dec956c6ee9ffeb75 >> >> >> >> On Apr 12, 2015, at 12:58 AM, Christian Schafmeister <chris.schaf at verizon.net> wrote: >> &gt...
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
Hi Christian, Thanks for your explanation. I know your situation now. I would suggest you to check the optimization pass used by the JIT compiler, especially IPO/PruneEH.cpp. It will try to add nounwind attribute to functions which will result in the problem you have mentioned earlier. Alternatively, as a workaround, try to add uwtable (function attribute) to the functions that are generated