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

2025-03-20 Thread Alexey Moksyakov via llvm-branch-commits

https://github.com/yavtuk edited 
https://github.com/llvm/llvm-project/pull/132114
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


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

2025-03-20 Thread Alexey Moksyakov via llvm-branch-commits


@@ -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
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits