Skip to content

Commit 311a622

Browse files
MaskRaytstellar
authored andcommitted
[Object][test] Fix invalid.test
(cherry picked from commit f708640)
1 parent 1007cb7 commit 311a622

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/test/Object/invalid.test

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,9 +671,10 @@ Sections:
671671

672672
## Check the case when the e_phoff field is invalid.
673673
# 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
674+
# RUN: llvm-objdump --private-headers %t31 2>&1 | FileCheck -DFILE=%t31 %s --check-prefix=INVALID-PHOFF
675675

676-
# INVALID-PHOFF: error: '[[FILE]]': program headers are longer than binary of size 280: e_phoff = 0xffffff, e_phnum = 0, e_phentsize = 0
676+
# 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:
677678

678679
--- !ELF
679680
FileHeader:

0 commit comments

Comments
 (0)