diff options
author | Kevin Enderby <enderby@apple.com> | 2015-02-04 21:38:42 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2015-02-04 21:38:42 +0000 |
commit | 10ba0411887d4fcc497cc383a31acd92a0bed46f (patch) | |
tree | b8145a61514f817339c6b97c89fbca1b4dcc5369 /llvm/test/tools/llvm-objdump/X86 | |
parent | a092f17580d76749a4f96714d6fe6fb26d1a174a (diff) | |
download | bcm5719-llvm-10ba0411887d4fcc497cc383a31acd92a0bed46f.tar.gz bcm5719-llvm-10ba0411887d4fcc497cc383a31acd92a0bed46f.zip |
Add code to llvm-objdump so the -section option with -macho will dump āCā string
sections with the Mach-O S_CSTRING_LITERALS section type.
llvm-svn: 228198
Diffstat (limited to 'llvm/test/tools/llvm-objdump/X86')
-rw-r--r-- | llvm/test/tools/llvm-objdump/X86/macho-cstring-dump.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/X86/macho-cstring-dump.test b/llvm/test/tools/llvm-objdump/X86/macho-cstring-dump.test new file mode 100644 index 00000000000..869462da233 --- /dev/null +++ b/llvm/test/tools/llvm-objdump/X86/macho-cstring-dump.test @@ -0,0 +1,4 @@ +RUN: llvm-objdump -m -section __TEXT,__cstring %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s + +CHECK: Contents of (__TEXT,__cstring) section +CHECK: 0x000000000000003b Hello world\n |