diff options
| author | Renato Golin <renato.golin@linaro.org> | 2014-09-24 17:01:33 +0000 |
|---|---|---|
| committer | Renato Golin <renato.golin@linaro.org> | 2014-09-24 17:01:33 +0000 |
| commit | 4edda28b8ac076ce31c0003ce3562b0207c106e1 (patch) | |
| tree | 3822e906f24ae38879aebc303eb49385d02bca54 /llvm/test/tools/llvm-dwarfdump/ARM/big-endian-dump.ll | |
| parent | 66088d5917140db87726095046720563de712f1d (diff) | |
| download | bcm5719-llvm-4edda28b8ac076ce31c0003ce3562b0207c106e1.tar.gz bcm5719-llvm-4edda28b8ac076ce31c0003ce3562b0207c106e1.zip | |
Report endianness in output of {dwarf, obj}dump
For biendian targets like ARM and AArch64, it is useful to have the
output of the llvm-dwarfdump and llvm-objdump report the endianness
used when the object files were generated.
Patch by Charlie Turner.
llvm-svn: 218391
Diffstat (limited to 'llvm/test/tools/llvm-dwarfdump/ARM/big-endian-dump.ll')
| -rw-r--r-- | llvm/test/tools/llvm-dwarfdump/ARM/big-endian-dump.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-dwarfdump/ARM/big-endian-dump.ll b/llvm/test/tools/llvm-dwarfdump/ARM/big-endian-dump.ll index b7f962d5f16..8c29104bc5d 100644 --- a/llvm/test/tools/llvm-dwarfdump/ARM/big-endian-dump.ll +++ b/llvm/test/tools/llvm-dwarfdump/ARM/big-endian-dump.ll @@ -1,5 +1,7 @@ ; RUN: llc -O0 -filetype=obj -o %t1 < %s -; RUN: llvm-dwarfdump %t1 +; RUN: llvm-dwarfdump %t1 | FileCheck %s + +; CHECK: file format ELF32-arm-big target datalayout = "E-m:e-p:32:32-i64:64-v128:64:128-n32-S64" target triple = "armebv8-none--eabi" |

