Files
llvm-6502/test/tools/llvm-objdump/X86/macho-cstring-dump.test
Kevin Enderby b019348f5d Add code to llvm-objdump so the -section option with -macho will dump literal pointer sections
with the Mach-O S_LITERAL_POINTERS section type.

Also fix the printing of the leading addresses for literal sections to be consistent and
not print the 0x prefix.  Updated test cases to match.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229548 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-17 21:35:48 +00:00

5 lines
181 B
Plaintext

RUN: llvm-objdump -m -section __TEXT,__cstring %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s
CHECK: Contents of (__TEXT,__cstring) section
CHECK: 000000000000003b Hello world\n