1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/tools/sancov
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
..
CMakeLists.txt Rename sancov.cc to sancov.cpp 2018-04-25 18:06:23 +00:00
coverage-report-server.py [sancov] coverage-report-server.py: ServerHandler(): open file as UTF8 2017-09-12 18:59:21 +00:00
sancov.cpp [sancov] Generalize the code to get the previous instruction to multiple architectures 2018-10-10 00:57:24 +00:00