summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-02-07 00:41:34 +0000
committerRui Ueyama <ruiu@google.com>2018-02-07 00:41:34 +0000
commit532fa0e1cafe395e8620da472bc2c07492dbcd5c (patch)
tree67aa4d73d0bbb18895943666719df60a0a9fd795
parentb73d2df1e1d3239926de20bd63086e62f60dc6db (diff)
downloadbcm5719-llvm-532fa0e1cafe395e8620da472bc2c07492dbcd5c.tar.gz
bcm5719-llvm-532fa0e1cafe395e8620da472bc2c07492dbcd5c.zip
Make sure that --no-check-sections doesn't print out warning messages.
Differential Revision: https://reviews.llvm.org/D42988 llvm-svn: 324434
-rw-r--r--lld/test/ELF/linkerscript/overlapping-sections.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/test/ELF/linkerscript/overlapping-sections.s b/lld/test/ELF/linkerscript/overlapping-sections.s
index cb21a1a5fed..fcc995706de 100644
--- a/lld/test/ELF/linkerscript/overlapping-sections.s
+++ b/lld/test/ELF/linkerscript/overlapping-sections.s
@@ -68,8 +68,8 @@
# Check that we create the expected binary with --noinhibit-exec or --no-check-sections:
# RUN: ld.lld -o %t.so --script %t-lma.script %t.o -shared --noinhibit-exec
-# RUN: ld.lld -o %t.so --script %t-lma.script %t.o -shared --no-check-sections
-# RUN: ld.lld -o %t.so --script %t-lma.script %t.o -shared --check-sections --no-check-sections
+# RUN: ld.lld -o %t.so --script %t-lma.script %t.o -shared --no-check-sections -fatal-warnings
+# RUN: ld.lld -o %t.so --script %t-lma.script %t.o -shared --check-sections --no-check-sections -fatal-warnings
# Verify that the .sec2 was indeed placed in a PT_LOAD where the PhysAddr
# overlaps with where .sec1 is loaded:
OpenPOWER on IntegriCloud