[PATCH] D42988: Make sure that --no-check-sections doesn't print out warning messages.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 6 16:43:33 PST 2018
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rLLD324434: Make sure that --no-check-sections doesn't print out warning messages. (authored by ruiu, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D42988?vs=133093&id=133113#toc
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D42988
Files:
test/ELF/linkerscript/overlapping-sections.s
Index: test/ELF/linkerscript/overlapping-sections.s
===================================================================
--- test/ELF/linkerscript/overlapping-sections.s
+++ 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:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42988.133113.patch
Type: text/x-patch
Size: 908 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180207/c1315d07/attachment.bin>
More information about the llvm-commits
mailing list