mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Add the option, -data-in-code, to llvm-objdump used with -macho to print the Mach-O data in code table.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226921 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
BIN
test/tools/llvm-objdump/ARM/Inputs/data-in-code.macho-arm
Normal file
BIN
test/tools/llvm-objdump/ARM/Inputs/data-in-code.macho-arm
Normal file
Binary file not shown.
8
test/tools/llvm-objdump/ARM/macho-data-in-code.test
Normal file
8
test/tools/llvm-objdump/ARM/macho-data-in-code.test
Normal file
@@ -0,0 +1,8 @@
|
||||
RUN: llvm-objdump -m -data-in-code %p/Inputs/data-in-code.macho-arm | FileCheck %s
|
||||
|
||||
CHECK: Data in code table (4 entries)
|
||||
CHECK: offset length kind
|
||||
CHECK: 0x00000000 4 DATA
|
||||
CHECK: 0x00000004 4 JUMP_TABLE32
|
||||
CHECK: 0x00000008 2 JUMP_TABLE16
|
||||
CHECK: 0x0000000a 1 JUMP_TABLE8
|
Reference in New Issue
Block a user