On Monday, 23 November 2015 at 23:33:21 UTC, Elie Morisse wrote:
On Monday, 23 November 2015 at 00:04:44 UTC, deadalnix wrote:
I'd be very interested by the LLVM IR that this spout out.
Here's the IR for
https://github.com/Syniurge/Calypso/blob/master/tests/calypso/eh/std_exception.d :
https://paste.kde.org/pjxrqjjhp
Also, good work, pulling that one is hard.
It wasn't that hard to be honest, I took many shortcuts thanks
to Clang and Calypso.
But even without them it's doable. About the issue you
mentioned in the other thread, I don't think generating
std::type_info values will be too big of a hindrance for
Walter. Looking at cxxabi.h the classes derived from type_info
all have simple layouts so generating values at least for
classes singly inheriting from std::exception should be
achievable without too much sweat.
Yeah that's what I wanted to look int he IR. Where is
_D_ZTISt9exception7__tiwrap defined ? Looks like you trimed the
output :(