summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/gc-test.cc
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2014-04-04 12:24:46 +0000
committerAlexey Samsonov <samsonov@google.com>2014-04-04 12:24:46 +0000
commit2bf9a677a4294c6309ad56fdf647efb518839590 (patch)
tree66c633ca7bdaf96aa99ec053be73365439fa1dbc /test/asan/TestCases/gc-test.cc
parent1910f4e4d988102efad551c157ace78174f73af0 (diff)
[ASan] Explicitly specify -ldl/-lpthread in RUN-lines where needed
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205623 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases/gc-test.cc')
-rw-r--r--test/asan/TestCases/gc-test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/gc-test.cc b/test/asan/TestCases/gc-test.cc
index 984146481..8115262fa 100644
--- a/test/asan/TestCases/gc-test.cc
+++ b/test/asan/TestCases/gc-test.cc
@@ -1,4 +1,4 @@
-// RUN: %clangxx_asan %s -o %t
+// RUN: %clangxx_asan %s -lpthread -o %t
// RUN: ASAN_OPTIONS=detect_stack_use_after_return=1 %t 2>&1 | FileCheck %s --check-prefix=CHECK1
// RUN: ASAN_OPTIONS=detect_stack_use_after_return=0 %t 2>&1 | FileCheck %s --check-prefix=CHECK0