4 ms·
That's the article I used when I implemented exceptions in an LLVM-based compiler, so it's applicable to more than just GCC.
by arcatek 5y ago
That's the article I used when I implemented exceptions in an LLVM-based compiler, so it's applicable to more than just GCC.
- nicolasbrailo 5y agoIs your work public? If my article was useful, I'd love to have a look at what you did!
- arcatek 5y agoIt's public, but I doubt it still compiles against recent LLVM versions! I started it 8 years ago to get a better understanding how features like classes & operator overload would work in a JS-like language. It was really fun! https://github.com/castel/libcastel/blob/master/runtime/sources/runtime/interfaces/exceptions.cc#L36 https://github.com/castel/libcastel/blob/master/runtime/sour... https://github.com/castel/libcastel/blob/master/runtime/sources/runtime/helper/LSDA.cc https://github.com/castel/libcastel/blob/master/runtime/sour... I remember that at the time there were very few resources on personality functions, even in the LLVM doc - I had to make a lot of research before finding your articles, which were extremely helpful! I got reminded of them yesterday after someone pinged me on a Stack Overflow answer I made at the time, asking for an updated link; after I found your long-form article I figured it would be a good topic for HN as well :) https://stackoverflow.com/questions/16597350/what-is-an-exception-handling-personality-function https://stackoverflow.com/questions/16597350/what-is-an-exce...
- nicolasbrailo 5y agoahhh, I see you got hit by some of the fallout of my migration from Wordpress to Blogspot. Sorry about that! I tried to set http301s but gave up when I had to pay for it :)