Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 1b1a911

Browse files
author
Ryan Govostes
committed
[asan] Fix global-registration.c on Linux
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@273476 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 57f74a9 commit 1b1a911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/asan/TestCases/Posix/global-registration.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// RUN: %clang_asan -c -o %t-one.o -DDYNAMICLIB=\"%t-dynamic.so\" -DMAIN_FILE %s
99
// RUN: %clang_asan -c -o %t-two.o -DSECONDARY_FILE %s
1010
// RUN: %clang_asan -o %t %t-one.o %t-two.o
11-
// RUN: %clang_asan -shared -o %t-dynamic.so -DSHARED_LIBRARY_FILE %s
11+
// RUN: %clang_asan -shared -fPIC -o %t-dynamic.so -DSHARED_LIBRARY_FILE %s
1212
// RUN: not %run %t 1 2>&1 | FileCheck --check-prefix ASAN-CHECK-1 %s
1313
// RUN: not %run %t 2 2>&1 | FileCheck --check-prefix ASAN-CHECK-2 %s
1414
// RUN: not %run %t 3 2>&1 | FileCheck --check-prefix ASAN-CHECK-3 %s

0 commit comments

Comments
 (0)