[llvm-dev] seh / landing pads
Reid Kleckner via llvm-dev
llvm-dev at lists.llvm.org
Fri Sep 30 08:33:39 PDT 2016
On Thu, Sep 29, 2016 at 10:57 PM, Carlo Kok <ck at remobjects.com> wrote:
> x86_32 Windows uses a less sophisticated unwind mechanism involving a
>> linked list maintained in TLS at fs:00. Sometimes people use SEH to
>> refer to this and related structures.
> But the landingpad stuff on x86_32 won't use fs:00 will it? Can I still
> use it to catch access violations and other internal exception types?
True, it won't. Clang and GCC typically use DWARF unwind info on
I think you can use SetUnhandledExceptionFilter
or AddVectoredExceptionHandler to install a global exception handler for
AVs and traps that calls into the usual _Unwind* EH machinery.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev