Skip to content

Commit 79d1d1a

Browse files
committed
Fix solaris buildbot
1 parent dd47b84 commit 79d1d1a

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

clang/test/CodeGen/X86/ms-secure-hotpatch-bad-file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// This verifies that we correctly handle a -fms-secure-hotpatch-functions-file argument that points
44
// to a missing file.
55
//
6-
// RUN: not %clang_cl -c --target=x86_64-windows-msvc -O2 /Z7 -fms-secure-hotpatch-functions-file=%S/this-file-is-intentionally-missing-do-not-create-it.txt /Fo%t.obj %s 2>&1 | FileCheck %s
6+
// RUN: not %clang_cl -c --target=x86_64-windows-msvc -O2 /Z7 -fms-secure-hotpatch-functions-file=%S/this-file-is-intentionally-missing-do-not-create-it.txt /Fo%t.obj -- %s 2>&1 | FileCheck %s
77
// CHECK: failed to open hotpatch functions file
88

99
void this_might_have_side_effects();

clang/test/CodeGen/X86/ms-secure-hotpatch-cpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// This verifies that hotpatch function attributes are correctly propagated when compiling directly to OBJ,
44
// and that name mangling works as expected.
55
//
6-
// RUN: %clang_cl -c --target=x86_64-windows-msvc -O2 /Z7 -fms-secure-hotpatch-functions-list=?this_gets_hotpatched@@YAHXZ /Fo%t.obj %s
6+
// RUN: %clang_cl -c --target=x86_64-windows-msvc -O2 /Z7 -fms-secure-hotpatch-functions-list=?this_gets_hotpatched@@YAHXZ /Fo%t.obj -- %s
77
// RUN: llvm-readobj --codeview %t.obj | FileCheck %s
88

99
void this_might_have_side_effects();

clang/test/CodeGen/X86/ms-secure-hotpatch-eh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// Global constant data such as exception handler tables should not be redirected by Windows Secure Hot-Patching
44
//
5-
// RUN: %clang_cl -c --target=x86_64-windows-msvc /EHsc -O2 -fms-secure-hotpatch-functions-list=this_gets_hotpatched /Fo%t.obj /clang:-S /clang:-o- %s 2>& 1 | FileCheck %s
5+
// RUN: %clang_cl -c --target=x86_64-windows-msvc /EHsc -O2 -fms-secure-hotpatch-functions-list=this_gets_hotpatched /Fo%t.obj /clang:-S /clang:-o- -- %s 2>& 1 | FileCheck %s
66

77
class Foo {
88
public:

clang/test/CodeGen/X86/ms-secure-hotpatch-globals.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// RUN: %clang_cl -c --target=x86_64-windows-msvc -O2 /Z7 \
66
// RUN: -fms-secure-hotpatch-functions-list=hp1,hp2,hp3,hp4,hp5_phi_ptr_mixed,hp_phi_ptr_both,hp_const_ptr_sub \
7-
// RUN: /clang:-S /clang:-o- %s | FileCheck %s
7+
// RUN: /clang:-S /clang:-o- -- %s | FileCheck %s
88

99
#ifdef __clang__
1010
#define NO_TAIL __attribute__((disable_tail_calls))

clang/test/CodeGen/X86/ms-secure-hotpatch-lto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// This verifies that hotpatch function attributes are correctly propagated through LLVM IR when compiling with LTO.
44
//
5-
// RUN: %clang_cl -c --target=x86_64-windows-msvc -O2 /Z7 -fms-secure-hotpatch-functions-list=this_gets_hotpatched -flto /Fo%t.bc %s
5+
// RUN: %clang_cl -c --target=x86_64-windows-msvc -O2 /Z7 -fms-secure-hotpatch-functions-list=this_gets_hotpatched -flto /Fo%t.bc -- %s
66
// RUN: llvm-dis %t.bc -o - | FileCheck %s
77
//
88
// CHECK-LABEL: define dso_local noundef i32 @this_gets_hotpatched()

clang/test/CodeGen/X86/ms-secure-hotpatch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// This verifies that hotpatch function attributes are correctly propagated when compiling directly to OBJ.
44
//
55
// RUN: echo this_gets_hotpatched > %t.patch-functions.txt
6-
// RUN: %clang_cl -c --target=x86_64-windows-msvc -O2 /Z7 -fms-secure-hotpatch-functions-file=%t.patch-functions.txt /Fo%t.obj %s
6+
// RUN: %clang_cl -c --target=x86_64-windows-msvc -O2 /Z7 -fms-secure-hotpatch-functions-file=%t.patch-functions.txt /Fo%t.obj -- %s
77
// RUN: llvm-readobj --codeview %t.obj | FileCheck %s
88

99
void this_might_have_side_effects();

0 commit comments

Comments
 (0)