[all-commits] [llvm/llvm-project] 6c9f68: [lld-macho] Support EH frame pointer encodings tha...
Jez Ng via All-commits
all-commits at lists.llvm.org
Sun Jul 31 17:28:12 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6c9f6812523a706c11a12e6cb4119b0cf67bbb21
https://github.com/llvm/llvm-project/commit/6c9f6812523a706c11a12e6cb4119b0cf67bbb21
Author: Jez Ng <jezng at fb.com>
Date: 2022-07-31 (Sun, 31 Jul 2022)
Changed paths:
M lld/MachO/EhFrame.cpp
M lld/MachO/EhFrame.h
M lld/MachO/InputFiles.cpp
A lld/test/MachO/eh-frame-sdata4.s
Log Message:
-----------
[lld-macho] Support EH frame pointer encodings that use sdata4
Previously we only supporting using the system pointer size (aka the
`absptr` encoding) because `llvm-mc`'s CFI directives always generate EH
frames with that encoding. But libffi uses 4-byte-encoded, hand-rolled
EH frames, so this patch adds support for it.
Fixes #56576.
Reviewed By: #lld-macho, oontvoo
Differential Revision: https://reviews.llvm.org/D130804
More information about the All-commits
mailing list