[lld] [LLD][ELF][AArch64] Add BTI Aware long branch thunks (PR #108989)

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 08:20:17 PDT 2024


================
@@ -2243,6 +2243,14 @@ std::pair<Thunk *, bool> ThunkCreator::getThunk(InputSection *isec,
   return std::make_pair(t, true);
 }
 
+std::pair<Thunk *, bool> ThunkCreator::getSyntheticLandingPad(Defined &d,
+                                                              int64_t a) {
+  Thunk *lp = landingPadsBySectionAndAddend[{{d.section, d.value}, a}];
----------------
smithp35 wrote:

ACK

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


More information about the llvm-commits mailing list