[llvm-branch-commits] [BOLT][AArch64] Add jump table support using .llvm_jump_table_info (PR #132114)

Alexey Moksyakov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Mar 20 05:25:15 PDT 2025


================
@@ -704,7 +713,10 @@ void BinaryContext::populateJumpTables() {
 
     uint64_t NextJTAddress = 0;
     auto NextJTI = std::next(JTI);
-    if (NextJTI != JTE)
+    if (isAArch64()) {
----------------
yavtuk wrote:

here can be a gap between JT, it's better to check $d symbol or next JT address

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


More information about the llvm-branch-commits mailing list