summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/interception
Commit message (Collapse)AuthorAgeFilesLines
* [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.*Reid Kleckner2019-06-272-2/+2
| | | | | | | | | | | | | These lit configuration files are really Python source code. Using the .py file extension helps editors and tools use the correct language mode. LLVM and Clang already use this convention for lit configuration, this change simply applies it to all of compiler-rt. Reviewers: vitalybuka, dberris Differential Revision: https://reviews.llvm.org/D63658 llvm-svn: 364591
* Revert "[interception] Check for export table's size before referring to its ↵Marcos Pividori2017-01-225-94/+0
| | | | | | | | elements." This reverts commit r292747 because cmake fails for some archs. llvm-svn: 292751
* [interception] Check for export table's size before referring to its elements.Marcos Pividori2017-01-225-0/+94
| | | | | | | | | | | | This fix a bug, when calling InternalGetProcAddress() for an executable that doesn't export any symbol. So the table is empty. If we don't check for this condition, the program fails with Error 0xc0000142. Also, I add a regression test for Windows. Differential Revision: https://reviews.llvm.org/D28502 llvm-svn: 292747
* [Darwin] Exclude interception union tests on Darwin and AndroidBruno Cardoso Lopes2016-08-041-2/+3
| | | | | | | | | | | | | | | | | | | | | Since the directory is empty on Darwin, disable the inclusion and avoid the warning below. Exclude on Android as well to match the behavior from lib/interception/tests/CMakeLists.txt lit.py: /Users/buildslave/jenkins/sharedspace/clang-R_master@2/llvm/utils/lit/lit/discovery.py:224: warning: input '/Users/buildslave/jenkins/sharedspace/clang-R_master@2/clang-build/Build/tools/clang/runtime/compiler-rt-bins/test/interception/Unit' contained no tests This fixes the above warning in some of public bots, like http://lab.llvm.org:8080/green/job/clang-stage2-configure-Rlto_check/8686 Differential Revision: https://reviews.llvm.org/D23128 rdar://problem/27581108 llvm-svn: 277692
* [compiler-rt] Activate interception unittestsEtienne Bergeron2016-07-272-0/+30
| | | | | | | | | | | | | | Summary: The unittests recently added were not running when executing 'check-all'. Tests are stable on every archictetures and we can now turn them on. Reviewers: rnk Subscribers: llvm-commits, wang0109, chrisha Differential Revision: https://reviews.llvm.org/D22695 llvm-svn: 276881
* Revert "[CMake] Provide options for toggling on and off various runtime ↵Chris Bieneman2015-12-101-1/+0
| | | | | | | | libraries." This reverts r255170. This change caused a bunch of bot failures and needs to be revised. llvm-svn: 255184
* [CMake] Provide options for toggling on and off various runtime libraries.Chris Bieneman2015-12-091-0/+1
Summary: Rather than having to add new "experimental" options each time someone wants to work on bringing a sanitizer to a new platform, this patch makes options for all of them. The default values for the options are set by the platform checks that would have enabled them, but they can be overridden on or off. Reviewers: kubabrecka, samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14846 llvm-svn: 255170
OpenPOWER on IntegriCloud