mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
-disassemble or -section to not print the leading addresses on each line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232547 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
674 B
Plaintext
14 lines
674 B
Plaintext
RUN: llvm-objdump -m -section __TEXT,__cstring %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s
|
|
RUN: llvm-objdump -m -section __TEXT,__cstring -no-leading-addr %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s -check-prefix=NO_ADDR
|
|
RUN: llvm-objdump -m -section __TEXT,__cstring -non-verbose %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s -check-prefix=NON_VERBOSE
|
|
|
|
CHECK: Contents of (__TEXT,__cstring) section
|
|
CHECK: 000000000000003b Hello world\n
|
|
|
|
NO_ADDR: Contents of (__TEXT,__cstring) section
|
|
NO_ADDR: Hello world\n
|
|
NO_ADDR-NOT: 000000000000003b
|
|
|
|
NON_VERBOSE: Contents of (__TEXT,__cstring) section
|
|
NON_VERBOSE: 000000000000003b 48 65 6c 6c 6f 20 77 6f 72 6c 64 0a 00
|