[all-commits] [llvm/llvm-project] 3de532: [sanitizer] Refactor GetNextInstructionPc/GetPrevi...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Tue Feb 22 16:20:53 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3de5322b5f719d9414423d4237a6533fe43cd7f8
https://github.com/llvm/llvm-project/commit/3de5322b5f719d9414423d4237a6533fe43cd7f8
Author: Fangrui Song <i at maskray.me>
Date: 2022-02-22 (Tue, 22 Feb 2022)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h
Log Message:
-----------
[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
More information about the All-commits
mailing list