[PATCH] D77016: Change AArch64 Windows EH UnwindHelp object to be a fixed object
Daniel Frampton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 29 10:08:23 PDT 2020
danielframpton created this revision.
danielframpton added reviewers: efriedma, rnk.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
The UnwindHelp object is used during exception handling by runtime code. It must be findable from a fixed offset from FP.
This change allocates the UnwindHelp object as a fixed object (as is done for x86_64) to ensure that both the generated code and runtime agree on the location of the object.
Fixes: https://bugs.llvm.org/show_bug.cgi?id=45346
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77016
Files:
llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
llvm/test/CodeGen/AArch64/seh-finally.ll
llvm/test/CodeGen/AArch64/wineh-try-catch-cbz.ll
llvm/test/CodeGen/AArch64/wineh-try-catch-realign.ll
llvm/test/CodeGen/AArch64/wineh-try-catch.ll
llvm/test/CodeGen/AArch64/wineh-unwindhelp-via-fp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77016.253430.patch
Type: text/x-patch
Size: 16248 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200329/91ce9d69/attachment-0001.bin>
More information about the llvm-commits
mailing list