diff options
Diffstat (limited to 'test/DebugInfo/AArch64/line-header.ll')
-rw-r--r-- | test/DebugInfo/AArch64/line-header.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/DebugInfo/AArch64/line-header.ll b/test/DebugInfo/AArch64/line-header.ll new file mode 100644 index 000000000000..f8220233faab --- /dev/null +++ b/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 |