diff options
| author | Alexey Samsonov <vonosmas@gmail.com> | 2015-06-04 22:26:44 +0000 |
|---|---|---|
| committer | Alexey Samsonov <vonosmas@gmail.com> | 2015-06-04 22:26:44 +0000 |
| commit | f8a7bf8c6ebc141ee7e0ae862d67362b946c04b0 (patch) | |
| tree | 2065bae48d425deceec4f4c45f0c71192fab684d /llvm/test/Object/Inputs/macho64-invalid-incomplete-segment-load-command | |
| parent | 36e60e9127374c83f2eb7c705d1bd0dcb2a54d18 (diff) | |
| download | bcm5719-llvm-f8a7bf8c6ebc141ee7e0ae862d67362b946c04b0.tar.gz bcm5719-llvm-f8a7bf8c6ebc141ee7e0ae862d67362b946c04b0.zip | |
[Object, MachO] Don't crash on incomplete MachO segment load commands.
Report proper error code from MachOObjectFile constructor if we
can't parse another segment load command (we already return a proper
error if segment load command contents is suspicious).
llvm-svn: 239109
Diffstat (limited to 'llvm/test/Object/Inputs/macho64-invalid-incomplete-segment-load-command')
| -rw-r--r-- | llvm/test/Object/Inputs/macho64-invalid-incomplete-segment-load-command | bin | 0 -> 64 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/Object/Inputs/macho64-invalid-incomplete-segment-load-command b/llvm/test/Object/Inputs/macho64-invalid-incomplete-segment-load-command Binary files differnew file mode 100644 index 00000000000..82ec7246bdb --- /dev/null +++ b/llvm/test/Object/Inputs/macho64-invalid-incomplete-segment-load-command |

