summaryrefslogtreecommitdiffstats
path: root/llvm/tools/sancov/sancov.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [sancov] Generalize the code to get the previous instruction to multiple ↵George Karpenkov2018-10-101-1/+14
| | | | | | | | | | | | | 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
* Rename sancov.cc to sancov.cppNico Weber2018-04-251-0/+1261
LLVM uses cpp as its C++ file ending. https://reviews.llvm.org/D46068 llvm-svn: 330853
OpenPOWER on IntegriCloud