diff options
author | Vlad Tsyrklevich <vlad@tsyrklevich.net> | 2018-04-04 17:53:33 +0000 |
---|---|---|
committer | Vlad Tsyrklevich <vlad@tsyrklevich.net> | 2018-04-04 17:53:33 +0000 |
commit | f60f85afd0e280fa1beb723c1cb05a0d21e2a078 (patch) | |
tree | 4f99d5c90b72116c9aa32664461f377996b2934f /test/CMakeLists.txt | |
parent | 97c4d2222f7471e91d5017aaa5692c65e8fe1c74 (diff) | |
download | compiler-rt-f60f85afd0e280fa1beb723c1cb05a0d21e2a078.tar.gz |
Add simple runtime tests for shadowcallstack
Summary:
ShadowCallStack does not yet have a runtime provided by compiler-rt, but
this change includes simple tests that make use of a very minimal
runtime in test/shadowcallstack/minimal_runtime.h
Reviewers: pcc, kcc, delcypher, eugenis, filcab
Reviewed By: pcc
Subscribers: kubamracek, mgorny, delcypher, llvm-commits, #sanitizers, kcc
Differential Revision: https://reviews.llvm.org/D44803
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@329210 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index ab16f42d3..fa2031a7b 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -78,6 +78,9 @@ if(COMPILER_RT_CAN_EXECUTE_TESTS) if(COMPILER_RT_BUILD_XRAY) compiler_rt_test_runtime(xray) endif() + # ShadowCallStack does not yet provide a runtime with compiler-rt, the tests + # include their own minimal runtime + add_subdirectory(shadowcallstack) endif() if(COMPILER_RT_STANDALONE_BUILD) |