diff options
| -rw-r--r-- | lld/test/COFF/Inputs/failmismatch1.ll | 21 | ||||
| -rw-r--r-- | lld/test/COFF/Inputs/failmismatch2.ll | 22 |
2 files changed, 14 insertions, 29 deletions
diff --git a/lld/test/COFF/Inputs/failmismatch1.ll b/lld/test/COFF/Inputs/failmismatch1.ll index 0fb1fa975a9..9f14ce7c23c 100644 --- a/lld/test/COFF/Inputs/failmismatch1.ll +++ b/lld/test/COFF/Inputs/failmismatch1.ll @@ -1,22 +1,15 @@ ; ModuleID = 'test.cpp' -source_filename = "test.cpp" -target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128" -target triple = "x86_64-pc-windows-msvc19.16.27027" ; Function Attrs: noinline nounwind optnone sspstrong uwtable define dso_local i32 @"?f@@YAHXZ"() #0 { ret i32 0 } -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" } +!llvm.linker.options = !{!0} +!llvm.module.flags = !{!1, !2} +!llvm.ident = !{!3} -!llvm.linker.options = !{!0, !1, !2} -!llvm.module.flags = !{!3, !4} -!llvm.ident = !{!5} - -!0 = !{!"/DEFAULTLIB:libcmt.lib"} -!1 = !{!"/DEFAULTLIB:oldnames.lib"} -!2 = !{!"/FAILIFMISMATCH:\22TEST=1\22"} -!3 = !{i32 1, !"wchar_size", i32 2} -!4 = !{i32 7, !"PIC Level", i32 2} -!5 = !{!"clang version 7.0.1 (tags/RELEASE_701/final)"} +!0 = !{!"/FAILIFMISMATCH:\22TEST=1\22"} +!1 = !{i32 1, !"wchar_size", i32 2} +!2 = !{i32 7, !"PIC Level", i32 2} +!3 = !{!"clang version 7.0.1 (tags/RELEASE_701/final)"} diff --git a/lld/test/COFF/Inputs/failmismatch2.ll b/lld/test/COFF/Inputs/failmismatch2.ll index 62cb5b6bdfb..4facbfda287 100644 --- a/lld/test/COFF/Inputs/failmismatch2.ll +++ b/lld/test/COFF/Inputs/failmismatch2.ll @@ -1,7 +1,4 @@ ; ModuleID = 'test2.cpp' -source_filename = "test2.cpp" -target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128" -target triple = "x86_64-pc-windows-msvc19.16.27027" ; Function Attrs: noinline norecurse nounwind optnone sspstrong uwtable define dso_local i32 @main() #0 { @@ -13,16 +10,11 @@ define dso_local i32 @main() #0 { declare dso_local i32 @"?f@@YAHXZ"() #1 -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" } -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" } +!llvm.linker.options = !{!0} +!llvm.module.flags = !{!1, !2} +!llvm.ident = !{!3} -!llvm.linker.options = !{!0, !1, !2} -!llvm.module.flags = !{!3, !4} -!llvm.ident = !{!5} - -!0 = !{!"/DEFAULTLIB:libcmt.lib"} -!1 = !{!"/DEFAULTLIB:oldnames.lib"} -!2 = !{!"/FAILIFMISMATCH:\22TEST=2\22"} -!3 = !{i32 1, !"wchar_size", i32 2} -!4 = !{i32 7, !"PIC Level", i32 2} -!5 = !{!"clang version 7.0.1 (tags/RELEASE_701/final)"} +!0 = !{!"/FAILIFMISMATCH:\22TEST=2\22"} +!1 = !{i32 1, !"wchar_size", i32 2} +!2 = !{i32 7, !"PIC Level", i32 2} +!3 = !{!"clang version 7.0.1 (tags/RELEASE_701/final)"} |

