llvm-project
08ac3b39 - [win][aarch64] Place catch objects in the fixed object area (#147421)

Commit
83 days ago
[win][aarch64] Place catch objects in the fixed object area (#147421) Fixes #146973 When an object with alignment requirements is placed on the stack, this causes a stack realignment which causes AArch64 to use x19 to refer to objects on the stack as there may be a gap between local variables and the Stack Pointer. This causes issues with the MSVC C++ exception personality as the offset to the catch object recorded in the handler table no longer matches the object being used in the catch block itself. The fix for this is to place catch objects into the fixed object area.
Author
Parents
Loading