1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00
George Karpenkov 89d8f94480 [sancov] Generalize the code to get the previous instruction to multiple architectures
sancov subtracts one from the address to get the previous instruction,
which makes sense on x86_64, but not on other platforms.
This change ensures that the offset is correct for different platforms.
The logic for computing the offset is copied from sanitizer_common.

Differential Revision: https://reviews.llvm.org/D53039

llvm-svn: 344103
2018-10-10 00:57:24 +00:00
..
2018-09-18 18:39:27 +00:00
2018-06-23 19:04:10 +00:00
2018-07-23 18:09:43 +00:00
2018-09-24 08:34:17 +00:00
2018-10-09 14:51:33 +00:00
2018-09-28 17:01:50 +00:00
2018-07-20 17:27:48 +00:00