We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a8ba24 + ed401b4 commit da7f08bCopy full SHA for da7f08b
test/reproducible-builds/swift-emit-bc.swift
@@ -0,0 +1,10 @@
1
+// RUN: rm -rf %t && mkdir -p %t
2
+// NOTE: We need to re-use the output filename ("-o run.bc") between the two
3
+// runs since the LLVM BC file contains the filename specified:
4
+// <UnknownCode16 ... /> record string = 'run.bc'
5
+// RUN: %target-build-swift -O -g -module-name foo -emit-bc %s -o %t/run.bc
6
+// RUN: mv %t/run.bc %t/run-1.bc
7
8
+// RUN: mv %t/run.bc %t/run-2.bc
9
+// RUN: cmp %t/run-1.bc %t/run-2.bc
10
+print("foo")
0 commit comments