[PATCH] D15577: [PS4] Fix the unit test to be compatible with clang driver. NFC
Sumanth Gundapaneni via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 16 12:21:28 PST 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL255814: [PS4] Fix the unit test to be compatible with clang driver. NFC (authored by sgundapa).
Changed prior to commit:
http://reviews.llvm.org/D15577?vs=43038&id=43049#toc
Repository:
rL LLVM
http://reviews.llvm.org/D15577
Files:
cfe/trunk/lib/Driver/Tools.cpp
cfe/trunk/test/Driver/sanitizer-ld.c
Index: cfe/trunk/test/Driver/sanitizer-ld.c
===================================================================
--- cfe/trunk/test/Driver/sanitizer-ld.c
+++ cfe/trunk/test/Driver/sanitizer-ld.c
@@ -379,19 +379,19 @@
// RUN: -target x86_64-scei-ps4 \
// RUN: -shared \
// RUN: | FileCheck --check-prefix=CHECK-UBSAN-PS4 %s
-// CHECK-UBSAN-PS4: "{{.*}}ld{{(.exe)?}}"
+// CHECK-UBSAN-PS4: "{{.*}}ld{{(.gold)?(.exe)?}}"
// CHECK-UBSAN-PS4: -lSceDbgUBSanitizer_stub_weak
// RUN: %clang -fsanitize=address %s -### -o %t.o 2>&1 \
// RUN: -target x86_64-scei-ps4 \
// RUN: -shared \
// RUN: | FileCheck --check-prefix=CHECK-ASAN-PS4 %s
-// CHECK-ASAN-PS4: "{{.*}}ld{{(.exe)?}}"
+// CHECK-ASAN-PS4: "{{.*}}ld{{(.gold)?(.exe)?}}"
// CHECK-ASAN-PS4: -lSceDbgAddressSanitizer_stub_weak
// RUN: %clang -fsanitize=address,undefined %s -### -o %t.o 2>&1 \
// RUN: -target x86_64-scei-ps4 \
// RUN: -shared \
// RUN: | FileCheck --check-prefix=CHECK-AUBSAN-PS4 %s
-// CHECK-AUBSAN-PS4: "{{.*}}ld{{(.exe)?}}"
+// CHECK-AUBSAN-PS4: "{{.*}}ld{{(.gold)?(.exe)?}}"
// CHECK-AUBSAN-PS4: -lSceDbgAddressSanitizer_stub_weak
Index: cfe/trunk/lib/Driver/Tools.cpp
===================================================================
--- cfe/trunk/lib/Driver/Tools.cpp
+++ cfe/trunk/lib/Driver/Tools.cpp
@@ -10440,7 +10440,7 @@
const char *Exec =
#ifdef LLVM_ON_WIN32
- Args.MakeArgString(ToolChain.GetProgramPath("ps4-ld.gold.exe"));
+ Args.MakeArgString(ToolChain.GetProgramPath("ps4-ld.gold"));
#else
Args.MakeArgString(ToolChain.GetProgramPath("ps4-ld"));
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15577.43049.patch
Type: text/x-patch
Size: 1612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151216/909cd170/attachment.bin>
More information about the cfe-commits
mailing list