mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-26 05:56:12 +00:00
323f7893f4
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275487 91177308-0d34-0410-b5e6-96231b3b80d8
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
|