diff options
author | Colin LeMahieu <colinl@codeaurora.org> | 2015-07-23 20:58:49 +0000 |
---|---|---|
committer | Colin LeMahieu <colinl@codeaurora.org> | 2015-07-23 20:58:49 +0000 |
commit | f34933e425a9b04e837766b47719892d4352f4be (patch) | |
tree | a67c1b8ef01ec0d1935c330e8041fe169361821f /llvm/test/tools/llvm-objdump | |
parent | 878c144f8a32336daa2c0124017ec707924cfcc0 (diff) | |
download | bcm5719-llvm-f34933e425a9b04e837766b47719892d4352f4be.tar.gz bcm5719-llvm-f34933e425a9b04e837766b47719892d4352f4be.zip |
[llvm-objdump] Add -D and --disassemble-all flags that attempt disassembly on all sections instead of just text sections.
llvm-svn: 243041
Diffstat (limited to 'llvm/test/tools/llvm-objdump')
-rw-r--r-- | llvm/test/tools/llvm-objdump/disassemble-data.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/disassemble-data.test b/llvm/test/tools/llvm-objdump/disassemble-data.test new file mode 100644 index 00000000000..97f11c12f53 --- /dev/null +++ b/llvm/test/tools/llvm-objdump/disassemble-data.test @@ -0,0 +1,6 @@ +// This test checks that -D disassembles from a data section +// RUN: llvm-mc -filetype=obj -o - %s | llvm-objdump -D - | FileCheck %s + +// CHECK: Disassembly of section .data: +.data +.word 0x0
\ No newline at end of file |