1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/DebugInfo/dwarfdump-64-bit-dwarf.test
Don Hinton 22b0cb9706 [CommandLine] Don't allow unlimitted dashes for options. Part 1 or 5
Summary:
Prior to this patch, the CommandLine parser would strip an
unlimitted number of dashes from options.  This patch limits it to
two.

Reviewers: rnk

Reviewed By: rnk

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D61229

llvm-svn: 359480
2019-04-29 18:34:18 +00:00

46 lines
1.2 KiB
Plaintext

RUN: llvm-dwarfdump %p/Inputs/dwarfdump.elf-mips64-64-bit-dwarf \
RUN: --debug-line | FileCheck %s
# FIXME: llvm-dwarfdump's support for 64-bit dwarf is currently limited to
# .debug_line.
CHECK: total_length: 0x00000212
CHECK: version: 2
CHECK:prologue_length: 0x000001ab
CHECK:min_inst_length: 1
CHECK:default_is_stmt: 1
CHECK: line_base: -5
CHECK: line_range: 14
CHECK: opcode_base: 13
CHECK: is_stmt end_sequence
CHECK: total_length: 0x0000007c
CHECK: version: 2
CHECK:prologue_length: 0x00000048
CHECK:min_inst_length: 1
CHECK:default_is_stmt: 1
CHECK: line_base: -5
CHECK: line_range: 14
CHECK: opcode_base: 13
CHECK: is_stmt end_sequence
CHECK: total_length: 0x00000094
CHECK: version: 2
CHECK:prologue_length: 0x00000044
CHECK:min_inst_length: 1
CHECK:default_is_stmt: 1
CHECK: line_base: -5
CHECK: line_range: 14
CHECK: opcode_base: 13
CHECK: is_stmt end_sequence
CHECK: total_length: 0x0000007c
CHECK: version: 2
CHECK:prologue_length: 0x00000048
CHECK:min_inst_length: 1
CHECK:default_is_stmt: 1
CHECK: line_base: -5
CHECK: line_range: 14
CHECK: opcode_base: 13
CHECK: is_stmt end_sequence