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 dce5109 commit 2ecfb53Copy full SHA for 2ecfb53
llvm/test/tools/llvm-objdump/XCOFF/private-headers-option.test
@@ -7,6 +7,13 @@
7
# RUN: llvm-objdump --private-headers %t_xcoff64.o |\
8
# RUN: FileCheck %s --check-prefixes=CHECK64 --match-full-lines
9
10
+# RUN: yaml2obj --docnum=1 %s -o %t-truncate.o
11
+# RUN: %python -c "with open('%/t-truncate.o', 'r+b') as input: input.truncate(60)"
12
+# RUN: llvm-objdump --private-headers %t-truncate.o 2>&1 |\
13
+# RUN: FileCheck --check-prefix=WARN %s
14
+
15
+# WARN: The end of the file was unexpectedly encountered: loader section with offset 0x3c and size 0x20 goes past the end of the file
16
17
--- !XCOFF
18
FileHeader:
19
MagicNumber: 0x1DF
0 commit comments