Add simple runtime tests for shadowcallstack
authorVlad Tsyrklevich <vlad@tsyrklevich.net>
Wed, 4 Apr 2018 17:53:33 +0000 (17:53 +0000)
committerVlad Tsyrklevich <vlad@tsyrklevich.net>
Wed, 4 Apr 2018 17:53:33 +0000 (17:53 +0000)
commit1781d105ed9a5ef5b877923a8e347425b928b2cd
treebb1f4b801e605a9654ed969e0fd7c01b25a52ec3
parent4703a3f5c4885399c7d87ed082ce8c7dabc5ec9f
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

llvm-svn: 329210
compiler-rt/test/CMakeLists.txt
compiler-rt/test/shadowcallstack/CMakeLists.txt [new file with mode: 0644]
compiler-rt/test/shadowcallstack/init.c [new file with mode: 0644]
compiler-rt/test/shadowcallstack/lit.cfg [new file with mode: 0644]
compiler-rt/test/shadowcallstack/lit.site.cfg.in [new file with mode: 0644]
compiler-rt/test/shadowcallstack/minimal_runtime.h [new file with mode: 0644]
compiler-rt/test/shadowcallstack/overflow.c [new file with mode: 0644]