Skip to content

Commit e7ec39c

Browse files
committed
[LLD][COFF] Attempt fix for failifmismatch test on aarch64-only builder.
Shall fix: http://lab.llvm.org:8011/builders/clang-cmake-aarch64-lld/builds/6150 llvm-svn: 355595
1 parent 3d3120d commit e7ec39c

File tree

2 files changed

+14
-29
lines changed

2 files changed

+14
-29
lines changed

lld/test/COFF/Inputs/failmismatch1.ll

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
11
; ModuleID = 'test.cpp'
2-
source_filename = "test.cpp"
3-
target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
4-
target triple = "x86_64-pc-windows-msvc19.16.27027"
52

63
; Function Attrs: noinline nounwind optnone sspstrong uwtable
74
define dso_local i32 @"?f@@YAHXZ"() #0 {
85
ret i32 0
96
}
107

11-
attributes #0 = { noinline nounwind optnone sspstrong uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
8+
!llvm.linker.options = !{!0}
9+
!llvm.module.flags = !{!1, !2}
10+
!llvm.ident = !{!3}
1211

13-
!llvm.linker.options = !{!0, !1, !2}
14-
!llvm.module.flags = !{!3, !4}
15-
!llvm.ident = !{!5}
16-
17-
!0 = !{!"/DEFAULTLIB:libcmt.lib"}
18-
!1 = !{!"/DEFAULTLIB:oldnames.lib"}
19-
!2 = !{!"/FAILIFMISMATCH:\22TEST=1\22"}
20-
!3 = !{i32 1, !"wchar_size", i32 2}
21-
!4 = !{i32 7, !"PIC Level", i32 2}
22-
!5 = !{!"clang version 7.0.1 (tags/RELEASE_701/final)"}
12+
!0 = !{!"/FAILIFMISMATCH:\22TEST=1\22"}
13+
!1 = !{i32 1, !"wchar_size", i32 2}
14+
!2 = !{i32 7, !"PIC Level", i32 2}
15+
!3 = !{!"clang version 7.0.1 (tags/RELEASE_701/final)"}

lld/test/COFF/Inputs/failmismatch2.ll

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
; ModuleID = 'test2.cpp'
2-
source_filename = "test2.cpp"
3-
target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
4-
target triple = "x86_64-pc-windows-msvc19.16.27027"
52

63
; Function Attrs: noinline norecurse nounwind optnone sspstrong uwtable
74
define dso_local i32 @main() #0 {
@@ -13,16 +10,11 @@ define dso_local i32 @main() #0 {
1310

1411
declare dso_local i32 @"?f@@YAHXZ"() #1
1512

16-
attributes #0 = { noinline norecurse nounwind optnone sspstrong uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
17-
attributes #1 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
13+
!llvm.linker.options = !{!0}
14+
!llvm.module.flags = !{!1, !2}
15+
!llvm.ident = !{!3}
1816

19-
!llvm.linker.options = !{!0, !1, !2}
20-
!llvm.module.flags = !{!3, !4}
21-
!llvm.ident = !{!5}
22-
23-
!0 = !{!"/DEFAULTLIB:libcmt.lib"}
24-
!1 = !{!"/DEFAULTLIB:oldnames.lib"}
25-
!2 = !{!"/FAILIFMISMATCH:\22TEST=2\22"}
26-
!3 = !{i32 1, !"wchar_size", i32 2}
27-
!4 = !{i32 7, !"PIC Level", i32 2}
28-
!5 = !{!"clang version 7.0.1 (tags/RELEASE_701/final)"}
17+
!0 = !{!"/FAILIFMISMATCH:\22TEST=2\22"}
18+
!1 = !{i32 1, !"wchar_size", i32 2}
19+
!2 = !{i32 7, !"PIC Level", i32 2}
20+
!3 = !{!"clang version 7.0.1 (tags/RELEASE_701/final)"}

0 commit comments

Comments
 (0)