mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Simplify iterating over the dynamic section and report broken ones.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242712 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
BIN
test/Object/Inputs/corrupt-invalid-dynamic-table-size.elf.x86-64
Executable file
BIN
test/Object/Inputs/corrupt-invalid-dynamic-table-size.elf.x86-64
Executable file
Binary file not shown.
@@ -50,3 +50,9 @@ RUN: %p/Inputs/corrupt-invalid-relocation-size.elf.x86-64 2>&1 | \
|
||||
RUN: FileCheck --check-prefix=RELOC %s
|
||||
|
||||
RELOC: Invalid relocation entry size
|
||||
|
||||
RUN: not llvm-readobj -dyn-relocations \
|
||||
RUN: %p/Inputs/corrupt-invalid-dynamic-table-size.elf.x86-64 2>&1 | \
|
||||
RUN: FileCheck --check-prefix=DYN-TABLE-SIZE %s
|
||||
|
||||
DYN-TABLE-SIZE: Invalid dynamic table size
|
||||
|
Reference in New Issue
Block a user