blob: a45690dbd7d95c8492674e7ff38cf46dcc4827f0 [file] [log] [blame]
Kevin Enderby10ba0412015-02-04 21:38:42 +00001RUN: llvm-objdump -m -section __TEXT,__cstring %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s
Kevin Enderbyf0640752015-03-13 17:56:32 +00002RUN: llvm-objdump -m -section __TEXT,__cstring -non-verbose %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s -check-prefix=NON_VERBOSE
Kevin Enderby10ba0412015-02-04 21:38:42 +00003
4CHECK: Contents of (__TEXT,__cstring) section
Kevin Enderby578fe5a2015-02-17 21:35:48 +00005CHECK: 000000000000003b Hello world\n
Kevin Enderbyf0640752015-03-13 17:56:32 +00006
7NON_VERBOSE: Contents of (__TEXT,__cstring) section
8NON_VERBOSE: 000000000000003b 48 65 6c 6c 6f 20 77 6f 72 6c 64 0a 00