[all-commits] [llvm/llvm-project] dd711a: [lld-macho] Canonicalize personality pointers in E...
Guillaume Chatelet via All-commits
all-commits at lists.llvm.org
Fri Oct 28 00:38:00 PDT 2022
Branch: refs/heads/release/15.x
Home: https://github.com/llvm/llvm-project
Commit: dd711a9391226189476f23f793fb98e244d52a4b
https://github.com/llvm/llvm-project/commit/dd711a9391226189476f23f793fb98e244d52a4b
Author: Jez Ng <jezng at fb.com>
Date: 2022-10-28 (Fri, 28 Oct 2022)
Changed paths:
M lld/MachO/UnwindInfoSection.cpp
M lld/MachO/UnwindInfoSection.h
M lld/MachO/Writer.cpp
A lld/test/MachO/eh-frame-personality-dedup.s
Log Message:
-----------
[lld-macho] Canonicalize personality pointers in EH frames
We already do this for personality pointers referenced from compact
unwind entries; this patch extends that behavior to personalities
referenced via EH frames as well.
This reduces the number of distinct personalities we need in the final
binary, and helps us avoid hitting the "too many personalities" error.
I renamed `UnwindInfoSection::prepareRelocations()` to simply `prepare`
since we now do some non-reloc-specific stuff within.
Fixes #58277.
Reviewed By: #lld-macho, oontvoo
Differential Revision: https://reviews.llvm.org/D135728
(cherry picked from commit 7b45dfc6811a52ff4e9a6054dc276d70d77fddaf)
Commit: 9d46557baa84ab4342707c119cf9c77c9148230e
https://github.com/llvm/llvm-project/commit/9d46557baa84ab4342707c119cf9c77c9148230e
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2022-10-28 (Fri, 28 Oct 2022)
Changed paths:
M llvm/lib/Transforms/Utils/VNCoercion.cpp
Log Message:
-----------
Take memset_inline into account in analyzeLoadFromClobberingMemInst
This appeared in https://reviews.llvm.org/D126903#3884061
Differential Revision: https://reviews.llvm.org/D136752
(cherry picked from commit 1a726cfa83667585dd87a9955ed5e331cad45d18)
Compare: https://github.com/llvm/llvm-project/compare/3010b7e00000...9d46557baa84
More information about the All-commits
mailing list