[lld] r324434 - Make sure that --no-check-sections doesn't print out warning messages.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 16:41:34 PST 2018


Author: ruiu
Date: Tue Feb  6 16:41:34 2018
New Revision: 324434

URL: http://llvm.org/viewvc/llvm-project?rev=324434&view=rev
Log:
Make sure that --no-check-sections doesn't print out warning messages.

Differential Revision: https://reviews.llvm.org/D42988

Modified:
    lld/trunk/test/ELF/linkerscript/overlapping-sections.s

Modified: lld/trunk/test/ELF/linkerscript/overlapping-sections.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/overlapping-sections.s?rev=324434&r1=324433&r2=324434&view=diff
==============================================================================
--- lld/trunk/test/ELF/linkerscript/overlapping-sections.s (original)
+++ lld/trunk/test/ELF/linkerscript/overlapping-sections.s Tue Feb  6 16:41:34 2018
@@ -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:




More information about the llvm-commits mailing list