Author: Fangrui Song Date: 2022-02-25T01:30:45-08:00 New Revision: bdbca8f3d0b272199c595dd55cb3d5d0a233771d
URL: https://github.com/llvm/llvm-project/commit/bdbca8f3d0b272199c595dd55cb3d5d0a233771d DIFF: https://github.com/llvm/llvm-project/commit/bdbca8f3d0b272199c595dd55cb3d5d0a233771d.diff LOG: [asan][test] asan_prelink_test.cpp: use -fno-pie -no-pie prelink (will be removed by glibc 2.37) does not support PIE. (cherry picked from commit 611122892e6d5813444bdd0e1fbe0a96f6e09779) Added: Modified: compiler-rt/test/asan/TestCases/Linux/asan_prelink_test.cpp Removed: ################################################################################ diff --git a/compiler-rt/test/asan/TestCases/Linux/asan_prelink_test.cpp b/compiler-rt/test/asan/TestCases/Linux/asan_prelink_test.cpp index 9c70b61291b36..2dfe689ddcbbc 100644 --- a/compiler-rt/test/asan/TestCases/Linux/asan_prelink_test.cpp +++ b/compiler-rt/test/asan/TestCases/Linux/asan_prelink_test.cpp @@ -7,7 +7,7 @@ // RUN: %clangxx_asan -DBUILD_SO=1 -fPIC -shared %s -o %t.so -Wl,-Ttext-segment=0x3600000000 ||\ // RUN: %clangxx_asan -DBUILD_SO=1 -fPIC -shared %s -o %t.so -Wl,--image-base=0x3600000000 ||\ // RUN: %clangxx_asan -DBUILD_SO=1 -fPIC -shared %s -o %t.so -Wl,-Ttext=0x3600000000 -// RUN: %clangxx_asan %t.o %t.so -Wl,-R. -o %t +// RUN: %clangxx_asan -fno-pie -no-pie %t.o %t.so -Wl,-R. -o %t // RUN: %env_asan_opts=verbosity=1 %run %t 2>&1 | FileCheck %s // GNU driver doesn't handle .so files properly. _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
