
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
8 lines
196 B
Plaintext
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
|