[all-commits] [llvm/llvm-project] b6fbb6: [BOLT] Fix jump table issue for split functions
maksfb via All-commits
all-commits at lists.llvm.org
Sun Jul 23 08:40:32 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b6fbb64d7ce97933342bf13a69c2ec3ec5d63ea0
https://github.com/llvm/llvm-project/commit/b6fbb64d7ce97933342bf13a69c2ec3ec5d63ea0
Author: Maksim Panchenko <maks at fb.com>
Date: 2023-07-23 (Sun, 23 Jul 2023)
Changed paths:
M bolt/lib/Core/BinaryFunction.cpp
M bolt/test/X86/split-func-jump-table-fragment.s
Log Message:
-----------
[BOLT] Fix jump table issue for split functions
A jump table in a split function may contain an entry matching a start
address of another fragment of the function. While converting addresses
to labels, we used to ignore such entries resulting in underpopulated
jump table. Change that, so we always create one label per address.
Reviewed By: Amir
Differential Revision: https://reviews.llvm.org/D156013
More information about the All-commits
mailing list