Skip to content
0:00 / 0:00

#llvm#exceptionhandling#stackunwinding

Stack unwinding, landing pads, and other catches

Alex Denisov

41 subscribers • 1 video on Hallway

YouTube

Advanced. Deep dive for people who know the field.

865 views3 years ago2 recommendations

Systems programmingCompilers and interpretersC++

Alex Denisov explains how exception handling is implemented in LLVM, covering stack unwinding, landing pads, and the Itanium ABI.

Recording from LLVM Social Berlin #25 meetup.com/llvm-social-berlin/events/296282330/ github.com/AlexDenisov/llvm-social-exception-handling

Why it's here

2 people recommend this

What people say. Recommended as a helpful resource for understanding how exception handling mechanisms are implemented in compilers and assembly.

u/mttdin r/Compilers • Recommends

LLVM and exceptions: Stack unwinding, landing pads, and other catches

u/zejtin_in r/Compilers • Recommends

On “Need Help Understanding Exception Handling Implementation in MIPS Assembly”

It's a bit confusing (at least to me) what do you want. Do you want to implement handling of exceptions or the whole mechanism in your compiler? Recently I was exploring this topic, so I will list some interesting links: * Stack unwinding, landing pads, and other catches * C++ exception (2) — throwing an exception * C++ exception handling ABI * Itanium C++ abi - Exception Handling Tables * CppCon 2017: Dave Watson - C++ Exceptions and Stack Unwinding