[lld] r355595 - [LLD][COFF] Attempt fix for failifmismatch test on aarch64-only builder.

Alexandre Ganea via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 05:32:30 PST 2019


Author: aganea
Date: Thu Mar  7 05:32:29 2019
New Revision: 355595

URL: http://llvm.org/viewvc/llvm-project?rev=355595&view=rev
Log:
[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

Modified:
    lld/trunk/test/COFF/Inputs/failmismatch1.ll
    lld/trunk/test/COFF/Inputs/failmismatch2.ll

Modified: lld/trunk/test/COFF/Inputs/failmismatch1.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/failmismatch1.ll?rev=355595&r1=355594&r2=355595&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/failmismatch1.ll (original)
+++ lld/trunk/test/COFF/Inputs/failmismatch1.ll Thu Mar  7 05:32:29 2019
@@ -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)"}

Modified: lld/trunk/test/COFF/Inputs/failmismatch2.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/failmismatch2.ll?rev=355595&r1=355594&r2=355595&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/failmismatch2.ll (original)
+++ lld/trunk/test/COFF/Inputs/failmismatch2.ll Thu Mar  7 05:32:29 2019
@@ -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)"}




More information about the llvm-commits mailing list