Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Arm64: Fix bitmask used to match load/store instructions
When multiple threads simultaneously SIGBUS on the same address, one of them will perform the backpatching while the other will detect the backpatched instruction sequence and hence report the SIGBUS as "handled". This typo broke the instruction detection logic: The second thread would assume the source of the SIGBUS was unrelated to TSO emulation and hence report the signal as unhandled (generally triggering program abortion). In practice, this problem did not manifest as FEX does not currently share CodeBuffers between threads.
- Loading branch information