summaryrefslogtreecommitdiff
path: root/test/Object/Inputs/macho-invalid-twolevelhints-bad-size
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2016-10-20 20:10:30 +0000
committerKevin Enderby <enderby@apple.com>2016-10-20 20:10:30 +0000
commitd6842a6b778aaf08e648ff4620ff439a04741475 (patch)
treeeb28c8e8dd73b184e3764c0435251f0d17dfedb9 /test/Object/Inputs/macho-invalid-twolevelhints-bad-size
parent838c3a9ae72651601735aba5eca234be9fa94d6c (diff)
Another additional error check for invalid Mach-O files for the
load commands that use the MachO::twolevel_hints_command type which includes only the LC_TWOLEVEL_HINTS load command. This is not used in llvm libObject code or in llvm tool code. But does appear in one of the binary test files. While this load command is obsolete it is easier to add code for it in libObject than edit or change the binary test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Object/Inputs/macho-invalid-twolevelhints-bad-size')
-rw-r--r--test/Object/Inputs/macho-invalid-twolevelhints-bad-sizebin0 -> 48 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/test/Object/Inputs/macho-invalid-twolevelhints-bad-size b/test/Object/Inputs/macho-invalid-twolevelhints-bad-size
new file mode 100644
index 00000000000..a13a00e6d20
--- /dev/null
+++ b/test/Object/Inputs/macho-invalid-twolevelhints-bad-size
Binary files differ