summaryrefslogtreecommitdiffstats
path: root/lld/test/pecoff/trivial.test
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/pecoff/trivial.test')
-rw-r--r--lld/test/pecoff/trivial.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/test/pecoff/trivial.test b/lld/test/pecoff/trivial.test
index 536aea0943a..8b8100e3057 100644
--- a/lld/test/pecoff/trivial.test
+++ b/lld/test/pecoff/trivial.test
@@ -5,10 +5,10 @@
# RUN: yaml2obj %p/Inputs/nop.obj.yaml > %t.obj
#
# RUN: lld -flavor link /out:%t1 /subsystem:console,3.11 /entry:_start \
-# RUN: -- %t.obj && llvm-readobj -file-headers %t1 \
+# RUN: /opt:noref -- %t.obj && llvm-readobj -file-headers %t1 \
# RUN: | FileCheck -check-prefix=FILE %s
#
-# RUN: lld -flavor link /out:%t1 /entry:_start -- %t.obj \
+# RUN: lld -flavor link /out:%t1 /entry:_start /opt:noref -- %t.obj \
# RUN: && llvm-readobj -sections %t1 | FileCheck -check-prefix=SECTIONS %s
FILE: Format: COFF-i386
OpenPOWER on IntegriCloud