diff options
| author | Fangrui Song <i@maskray.me> | 2022-02-22 16:20:40 -0800 |
|---|---|---|
| committer | Fangrui Song <i@maskray.me> | 2022-02-22 16:20:40 -0800 |
| commit | 3de5322b5f719d9414423d4237a6533fe43cd7f8 (patch) | |
| tree | f1e09fbb08bfea1808d969f8ea2948fddf6c392d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 3ef7e6c53c825903d77a8d004a82c865f493e1bf (diff) | |
[sanitizer] Refactor GetNextInstructionPc/GetPreviousInstructionPc
x86 uses offset 1 while most RISC architectures use offset 4.
Check x86 first to prevent changes for new RISC architectures.
Reviewed By: #sanitizers, vitalybuka
Differential Revision: https://reviews.llvm.org/D120362
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
