[llvm] [llvm] Win x64 Unwind V2 2/n: Support dumping UOP_Epilog (PR #110338)

Daniel Paoliello via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 2 13:27:43 PDT 2024


dpaoliello wrote:

> AArch64 Windows has a similar limitation to function size (the function size limit is 20 bits, but still similar idea). The way we handle it there is that we emit multiple EH records for the function (the first record contains a normal prologue, the subsequent records are marked up to indicate they don't contain the prologue).
> 
> Is there some reason we can't do that for x64?

@pmsjt thoughts on splitting EH records to workaround the 4Kb offset limit? I know that we can chain unwind records, but I'm not sure if we can set a different function end location on each of the chained records.

https://github.com/llvm/llvm-project/pull/110338


More information about the llvm-commits mailing list