Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit dfa1ee1

Browse files
committed
Make sure that --no-check-sections doesn't print out warning messages.
Differential Revision: https://reviews.llvm.org/D42988 git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@324434 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent a344b21 commit dfa1ee1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ELF/linkerscript/overlapping-sections.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@
6868

6969
# Check that we create the expected binary with --noinhibit-exec or --no-check-sections:
7070
# RUN: ld.lld -o %t.so --script %t-lma.script %t.o -shared --noinhibit-exec
71-
# RUN: ld.lld -o %t.so --script %t-lma.script %t.o -shared --no-check-sections
72-
# RUN: ld.lld -o %t.so --script %t-lma.script %t.o -shared --check-sections --no-check-sections
71+
# RUN: ld.lld -o %t.so --script %t-lma.script %t.o -shared --no-check-sections -fatal-warnings
72+
# RUN: ld.lld -o %t.so --script %t-lma.script %t.o -shared --check-sections --no-check-sections -fatal-warnings
7373

7474
# Verify that the .sec2 was indeed placed in a PT_LOAD where the PhysAddr
7575
# overlaps with where .sec1 is loaded:

0 commit comments

Comments
 (0)