HomePhabricator

MS ABI: Emit HandlerMap entries for C++ catch

Description

MS ABI: Emit HandlerMap entries for C++ catch

The HandlerMap describes, to the runtime, what sort of catches surround
the try. In principle, this structure has to be emitted by the backend
because only it knows the layout of the stack (the runtime needs to know
where on the stack the destination of a copy lives, etc.) but there is
some C++ specific information that the backend can't reason about.

Stick this information in special LLVM globals with the relevant
"const", "volatile", "reference" info mangled into the name.

Details

Committed
majnemerMar 17 2015, 1:35 PM
Parents
rL232537: WIP
Branches
Unknown
Tags
Unknown