summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/ARM/big-endian-dump.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-10-06 07:06:03 +0000
committerEric Christopher <echristo@gmail.com>2014-10-06 07:06:03 +0000
commit2dab8359795909dbb3ad46a4a12ec5fa999cd088 (patch)
treed1d6ea23a2674b97dddd15a5cb99e2fec42c5822 /llvm/test/DebugInfo/ARM/big-endian-dump.ll
parent9864519c8baeac231eb495c6197295f1da1f221c (diff)
downloadbcm5719-llvm-2dab8359795909dbb3ad46a4a12ec5fa999cd088.tar.gz
bcm5719-llvm-2dab8359795909dbb3ad46a4a12ec5fa999cd088.zip
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: 219110
Diffstat (limited to 'llvm/test/DebugInfo/ARM/big-endian-dump.ll')
-rw-r--r--llvm/test/DebugInfo/ARM/big-endian-dump.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/ARM/big-endian-dump.ll b/llvm/test/DebugInfo/ARM/big-endian-dump.ll
index 5b157b4a556..e35f097b44f 100644
--- a/llvm/test/DebugInfo/ARM/big-endian-dump.ll
+++ b/llvm/test/DebugInfo/ARM/big-endian-dump.ll
@@ -1,4 +1,6 @@
-; RUN: llc -O0 -filetype=obj -mtriple=armeb-none-linux < %s | llvm-dwarfdump -
+; RUN: llc -O0 -filetype=obj -mtriple=armeb-none-linux < %s | llvm-dwarfdump - | FileCheck %s
+
+; CHECK: file format ELF32-arm-big
target datalayout = "E-m:e-p:32:32-i64:64-v128:64:128-n32-S64"
OpenPOWER on IntegriCloud