[all-commits] [llvm/llvm-project] 52cd00: [BOLT] Ignore functions accessing false positive j...
Huan Nguyen via All-commits
all-commits at lists.llvm.org
Thu Jul 28 23:22:30 PDT 2022
Author: Huan Nguyen <nhuhuan at yahoo.com>
Date: 2022-07-28 (Thu, 28 Jul 2022)
[BOLT] Ignore functions accessing false positive jump tables
Disassembly and branch target analysis are not decoupled, so any
analysis that depends on disassembly may not operate properly.
In specific, analyzeJumpTable uses instruction bounds check property.
A jump table was analyzed twice: (a) during disassembly, and (b) after
disassembly, so there are potentially some mismatched results.
In this update, functions that access JTs which fail the second check
will be marked as ignored.
Reviewed By: Amir
Differential Revision: https://reviews.llvm.org/D130431
More information about the All-commits