[llvm] [BOLT][AArch64] Don't change layout in PatchEntries (PR #71278)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 4 14:47:48 PDT 2023


================
@@ -98,6 +98,17 @@ void PatchEntries::runOnFunctions(BinaryContext &BC) {
     });
 
     if (!Success) {
+      // We can't change output layout for AArch64 due to LongJmp pass
----------------
aaupov wrote:

Is it safe to just continue without ignoring the function? 
And in general, what's the interaction between PatchEntries and LongJmp passes? Can we patch the entry and rely on LongJmp to insert trampolines?

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


More information about the llvm-commits mailing list