llvm-project/llvm/test/tools/llvm-objdump/X86/truncated-section.test
Tim Northover f203ab5be3 llvm-objdump: handle stubbed and malformed dylibs better
We were quite happy to read past the end of the valid section data when
disassembling. Instead we entirely skip stub dylibs, and tell the user what's
happened if their section only has partial data.

llvm-svn: 275487
2016-07-14 22:13:32 +00:00

8 lines
196 B
Plaintext

RUN: llvm-objdump -macho -d %p/Inputs/truncated-section.dylib.macho-x86_64 | FileCheck %s
CHECK: _func:
CHECK: retq
CHECK: retq
CHECK: section data ends, _func2 lies outside valid range