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 1007cb7 commit 311a622Copy full SHA for 311a622
llvm/test/Object/invalid.test
@@ -671,9 +671,10 @@ Sections:
671
672
## Check the case when the e_phoff field is invalid.
673
# RUN: yaml2obj --docnum=31 %s -o %t31
674
-# RUN: not llvm-objdump --private-headers %t31 2>&1 | FileCheck -DFILE=%t31 %s --check-prefix=INVALID-PHOFF
+# RUN: llvm-objdump --private-headers %t31 2>&1 | FileCheck -DFILE=%t31 %s --check-prefix=INVALID-PHOFF
675
676
-# INVALID-PHOFF: error: '[[FILE]]': program headers are longer than binary of size 280: e_phoff = 0xffffff, e_phnum = 0, e_phentsize = 0
+# INVALID-PHOFF: warning: '[[FILE]]': program headers are longer than binary of size 280: e_phoff = 0xffffff, e_phnum = 0, e_phentsize = 0
677
+# INVALID-PHOFF-EMPTY:
678
679
--- !ELF
680
FileHeader:
0 commit comments