Add "landing pads" to the glossary
Is a "landing pad" a link to the section that discusses the term?
I was looking at this the other day, my interpretation of the issue is that it is just adding to the glossary a general definition of landing pad and contextualize it somewhat for the rustc.
I was thinking of something like "A section of user code intended to catch, or otherwise clean up after, an exception."
https://llvm.org/docs/ExceptionHandling.html#overview
Here's my attempt...
A section of code that gets executed during unwinding to do cleanup operations (like invoking destructors and freeing memory).
It's also tempting to use the term exception handler, but I don't know how to explain that since Rust doesn't have exceptions.
"Panic handler" maybe?
"Panic handler" maybe?
That's ambiguous with https://doc.rust-lang.org/nomicon/panic-handler.html IMO. This is more similar to a catch block, there are landing pads at the end of every scope.
Since landing pads don't really have a analogy to any language feature but are instead used in the implementation of stack unwinding (which are in turn used by exceptions in C++ and panics in Rust), I don't think we should use "panic handler" or "exception handler". @tshepang's attempt is a good start.