tsan: add test for pie/no aslr

Just ensure that such combination works.

llvm-svn: 298372
This commit is contained in:
Dmitry Vyukov 2017-03-21 13:44:01 +00:00
parent 6a5702a093
commit ae9f13855b
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
// RUN: %clang_tsan %s -pie -fPIE -o %t && %run setarch x86_64 -R %t
int main() {
return 0;
}