diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2017-03-21 13:44:01 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2017-03-21 13:44:01 +0000 |
commit | 1698c9fe645e6d001bf8a9a7c115edb8098e73a1 (patch) | |
tree | 4158642a299729a667497e1573ed2546223c3e8e /test/tsan | |
parent | afa3b5b092dd73ad360916cd05113cb6e07c51c5 (diff) |
tsan: add test for pie/no aslr
Just ensure that such combination works.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@298372 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan')
-rw-r--r-- | test/tsan/Linux/pie_no_aslr.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/tsan/Linux/pie_no_aslr.cc b/test/tsan/Linux/pie_no_aslr.cc new file mode 100644 index 000000000..a30b6b488 --- /dev/null +++ b/test/tsan/Linux/pie_no_aslr.cc @@ -0,0 +1,5 @@ +// RUN: %clang_tsan %s -pie -fPIE -o %t && %run setarch x86_64 -R %t + +int main() { + return 0; +} |