================ @@ -627,6 +627,20 @@ // CHECK-COV-LINUX: "-lpthread" // CHECK-COV-LINUX: "-lresolv" +// RUN: %clang -### %s 2>&1 \ +// RUN: --target=x86_64-unknown-linux -fuse-ld=ld -fsanitize=numerical \ +// RUN: -resource-dir=%S/Inputs/resource_dir \ +// RUN: --sysroot=%S/Inputs/basic_linux_tree \ +// RUN: | FileCheck --check-prefix=CHECK-NSAN-LINUX %s +// +// CHECK-NSAN-LINUX: "{{(.*[^-.0-9A-Z_a-z])?}}ld{{(.exe)?}}" +// CHECK-NSAN-LINUX-NOT: "-lc" +// CHECK-NSAN-LINUX-NOT: libclang_rt.ubsan +// CHECK-NSAN-LINUX: libclang_rt.nsan.a" +// CHECK-NSAN-LINUX: "-lpthread" ---------------- alexander-shaposhnikov wrote:
done https://github.com/llvm/llvm-project/pull/97364 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits