Skip to content

Commit 25dcedc

Browse files
committed
rename more integration tests
1 parent 6e727eb commit 25dcedc

10 files changed

+8
-8
lines changed

clang/test/CodeGen/ms-hotpatch-functions.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

clang/test/CodeGen/ms-hotpatch-lto.c renamed to clang/test/CodeGen/ms-secure-hotpatch-lto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// This verifies that hotpatch function attributes are correctly propagated through LLVM IR when compiling with LTO.
22
//
3-
// RUN: %clang_cl -c --target=x86_64-windows-msvc -O2 /Z7 -fms-hotpatch-functions-file=%S/ms-hotpatch-functions.txt -flto /Fo%t.bc %s
3+
// RUN: %clang_cl -c --target=x86_64-windows-msvc -O2 /Z7 -fms-hotpatch-functions-list=this_gets_hotpatched -flto /Fo%t.bc %s
44
// RUN: llvm-dis %t.bc -o - | FileCheck %s
55
//
66
// CHECK: ; Function Attrs: marked_for_windows_hot_patching mustprogress nofree noinline norecurse nosync nounwind sspstrong willreturn memory(none) uwtable

clang/test/CodeGen/ms-hotpatch.c renamed to clang/test/CodeGen/ms-secure-hotpatch.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// This verifies that hotpatch function attributes are correctly propagated when compiling directly to OBJ.
22
//
3-
// RUN: %clang_cl -c --target=x86_64-windows-msvc -O2 /Z7 -fms-hotpatch-functions-file=%S/ms-hotpatch-functions.txt /Fo%t.obj %s
3+
// RUN: echo this_gets_hotpatched > %t.patch-functions.txt
4+
// RUN: %clang_cl -c --target=x86_64-windows-msvc -O2 /Z7 -fms-hotpatch-functions-file=%t.patch-functions.txt /Fo%t.obj %s
45
// RUN: llvm-readobj --codeview %t.obj | FileCheck %s
56

67
void this_might_have_side_effects();

llvm/test/CodeGen/Generic/ms-secure-hotpatch-attr.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
;
33
; RUN: llc -mtriple=x86_64-windows < %s | FileCheck %s
44

5-
source_filename = ".\\ms-hotpatch-attr.ll"
5+
source_filename = ".\\ms-secure-hotpatch-attr.ll"
66
target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
77
target triple = "x86_64-pc-windows-msvc19.36.32537"
88

llvm/test/CodeGen/Generic/ms-secure-hotpatch-bad-file.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; RUN: not llc -mtriple=x86_64-windows --ms-secure-hotpatch-functions-file=%S/this-file-is-intentionally-missing-do-not-create-it.txt < %s 2>&1 | FileCheck %s
22
; CHECK: failed to open hotpatch functions file
33

4-
source_filename = ".\\ms-hotpatch.ll"
4+
source_filename = ".\\ms-secure-hotpatch.ll"
55
target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
66
target triple = "x86_64-pc-windows-msvc19.36.32537"
77

llvm/test/CodeGen/Generic/ms-secure-hotpatch-direct-global-access.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
;
33
; RUN: llc -mtriple=x86_64-windows < %s | FileCheck %s
44

5-
source_filename = ".\\ms-hotpatch-direct-global-access.ll"
5+
source_filename = ".\\ms-secure-hotpatch-direct-global-access.ll"
66
target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
77
target triple = "x86_64-pc-windows-msvc19.36.32537"
88

llvm/test/CodeGen/Generic/ms-secure-hotpatch-functions-file.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
; RUN: echo this_gets_hotpatched > %t.patch-functions.txt
44
; RUN: llc -mtriple=x86_64-windows --ms-secure-hotpatch-functions-file=%t.patch-functions.txt < %s | FileCheck %s
55

6-
source_filename = ".\\ms-hotpatch-functions-file.ll"
6+
source_filename = ".\\ms-secure-hotpatch-functions-file.ll"
77
target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
88
target triple = "x86_64-pc-windows-msvc19.36.32537"
99

llvm/test/CodeGen/Generic/ms-secure-hotpatch-functions-list.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
;
33
; RUN: llc -mtriple=x86_64-windows --ms-secure-hotpatch-functions-list=this_gets_hotpatched < %s | FileCheck %s
44

5-
source_filename = ".\\ms-hotpatch-functions-list.ll"
5+
source_filename = ".\\ms-secure-hotpatch-functions-list.ll"
66
target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
77
target triple = "x86_64-pc-windows-msvc19.36.32537"
88

0 commit comments

Comments
 (0)