aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2019-10-04 07:27:45 +0000
committerRui Ueyama <ruiu@google.com>2019-10-04 07:27:45 +0000
commitda418fcf9d440fb8006255ac208c5497496a222d (patch)
treecf5018c61a6b95e03fad2578ad18fcb9d7dff9fa /test
parent99aff0634eaa18699798680677cc368f498d9e68 (diff)
[MinGW] Add --reproduce option
Differential Revision: https://reviews.llvm.org/D68382 git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@373705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MinGW/driver.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MinGW/driver.test b/test/MinGW/driver.test
index 8fa1199af..b16c814d8 100644
--- a/test/MinGW/driver.test
+++ b/test/MinGW/driver.test
@@ -189,6 +189,9 @@ UNDEFINED: -includeoptional:_foo -includeoptional:_bar -includeoptional:_baz -in
RUN: ld.lld -### -m i386pep foo.o -Llibpath | FileCheck -check-prefix LIBPATH %s
LIBPATH: -libpath:libpath
+RUN: ld.lld -### -m i386pep foo.o --reproduce=foo.tar | FileCheck -check-prefix REPRO %s
+REPRO: -reproduce:foo.tar
+
RUN: ld.lld -### -m i386pep foo.o --no-insert-timestamp | FileCheck -check-prefix NOTIMESTAMP %s
RUN: ld.lld -### -m i386pep foo.o --insert-timestamp --no-insert-timestamp | FileCheck -check-prefix NOTIMESTAMP %s
NOTIMESTAMP: -timestamp:0