Friday, October 30 • 11:15am - 12:00pm
Exception handling in LLVM, from Itanium to MSVC

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

This talk covers the design and implementation of MSVC-compatible exception handling in Clang and LLVM. Unlike the Itanium C++ exception handling model, the Windows exception handling model is not designed around successive unwinding. As a result, the existing LLVM landingpad instruction is insufficient for expressing how Windows exceptions should be handled. To support Windows exceptions, we added the new token type and a family of new EH pad instructions to LLVM. This talk describes the final design of the new representation and the tradeoffs we made along the way.


Reid Kleckner

Software Engineer, Google
I work on Clang, the C++ compiler. I specifically work on C++ ABI compatibility with MSVC, and other Windows-related issues in Clang.

Friday October 30, 2015 11:15am - 12:00pm PDT
Salon I & Salon II

Attendees (0)