summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_coverage_interface.inc
Commit message (Collapse)AuthorAgeFilesLines
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* [sanitizer_common] Update sanitizers w.r.t. the new comparisons ↵Alexander Potapenko2017-08-101-0/+4
| | | | | | | | | | | instrumentation API Added declarations of __sanitizer_cov_trace_const_cmp[1248] callbacks. For more details, please see https://reviews.llvm.org/D36465. Patch by Victor Chibotaru. llvm-svn: 310596
* [sanitizer-coverage] dummy definitions for ↵Kostya Serebryany2017-08-011-0/+2
| | | | | | __sanitizer_cov_8bit_counters_init and __sanitizer_cov_pcs_init llvm-svn: 309655
* [sancov] Implement __sanitizer_cov_reset.Evgeniy Stepanov2017-07-271-0/+1
| | | | | | | | | | | | Summary: Clears all collected coverage. Reviewers: kcc Subscribers: srhines, kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D35958 llvm-svn: 309333
* [sanitizer-coverage] nuke more stale codeKostya Serebryany2017-06-011-1/+0
| | | | llvm-svn: 304500
* [sanitizer-coverage] remove stale code (old coverage); compiler-rt part Kostya Serebryany2017-05-311-5/+0
| | | | llvm-svn: 304318
* [sanitizer-coverage] remove more unused codeKostya Serebryany2017-04-191-2/+0
| | | | llvm-svn: 300780
* [sanitizer-coverage] remove run-time support for ↵Kostya Serebryany2017-04-191-2/+0
| | | | | | -fsanitize-coverage=indirect-calls llvm-svn: 300775
* [sanitizer-coverage] remove run-time support for -fsanitize-coverage=trace-bbKostya Serebryany2017-04-191-2/+0
| | | | llvm-svn: 300766
* [sanitizer-coverage] remove run-time support for the deprecated ↵Kostya Serebryany2017-04-191-2/+0
| | | | | | -fsanitize-coverage=8bit-counters llvm-svn: 300745
* [sanitizer] Add list of symbols exported in sanitizers' interface.Marcos Pividori2017-01-311-0/+40
Add a new auxiliary file to each sanitizer: sanitizer_interface.inc, listing all the functions exported, with the macros: INTERFACE_FUNCTION() and INTERFACE_WEAK_FUNCTION(). So, when we need to define or repeat a procedure for each function in the sanitizer's interface, we can define the macros and include that header. In particular, these files are needed for Windows, in the nexts commits. Also, this files could replace the existing files: weak_symbols.txt for Apple. Instead of reading weak_symbols.txt to get the list of weak symbols, we could read the file sanitizer_interface.inc and consider all the symbols included with the macro INTERFACE_WEAK_FUNCTION(Name). In this commit, I only include these files to the sanitizers that work on Windows. We could do the same for the rest of the sanitizers when needed. I updated tests for: Linux, Darwin and Windows. If a new function is exported but is not present in the interface list, the tests "interface_symbols_[darwin|windows|linux].c" fail. Also, I remove the comments: "/* OPTIONAL */" which are not required any more, because we use the macro: INTERFACE_WEAK_FUNCTION() for weak functions. Differential Revision: https://reviews.llvm.org/D29148 llvm-svn: 293682
OpenPOWER on IntegriCloud