We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbd65a0 commit 4ad3deeCopy full SHA for 4ad3dee
lld/test/ELF/linkerscript/phdrs.s
@@ -104,6 +104,12 @@ PHDRS { text PT_LOAD ;
104
# UNCLOSED:error: unclosed.lds:1: unexpected EOF
105
# UNCLOSED-NOT:{{.}}
106
107
+#--- unclosed2.lds
108
+PHDRS { text PT_LOAD
109
+
110
+# RUN: not ld.lld -T unclosed2.lds a.o 2>&1 | FileCheck --check-prefix=UNCLOSED2 %s
111
+# UNCLOSED2: error: unclosed2.lds:1: unexpected header attribute:
112
113
#--- a.s
114
.global _start
115
_start:
0 commit comments