diff options
Diffstat (limited to 'llvm/test/DebugInfo/AArch64')
-rw-r--r-- | llvm/test/DebugInfo/AArch64/line-header.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/AArch64/line-header.ll b/llvm/test/DebugInfo/AArch64/line-header.ll new file mode 100644 index 00000000000..5910358cdc3 --- /dev/null +++ b/llvm/test/DebugInfo/AArch64/line-header.ll @@ -0,0 +1,6 @@ +; RUN: llc -mtriple=aarch64-none-linux -O0 -filetype=obj - < %S/../Inputs/line.ll | llvm-dwarfdump - | FileCheck %s +; RUN: llc -mtriple=aarch64_be-none-linux -O0 -filetype=obj - < %S/../Inputs/line.ll | llvm-dwarfdump - | FileCheck %s + +; check line table length is correctly calculated for both big and little endian +CHECK_LABEL: .debug_line contents: +CHECK: total_length: 0x0000003c |