Differential D102851 Diff 346827 lldb/test/Shell/SymbolFile/DWARF/x86/debug_ranges-missing-section.s
Changeset View
Changeset View
Standalone View
Standalone View
lldb/test/Shell/SymbolFile/DWARF/x86/debug_ranges-missing-section.s
# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s > %t | # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s > %t | ||||
# RUN: %lldb %t -o "image lookup -v -s lookup_ranges" -o exit 2>&1 | FileCheck %s | # RUN: %lldb %t -o "image lookup -v -s lookup_ranges" -o exit 2>&1 | FileCheck %s | ||||
# CHECK: DIE has DW_AT_ranges(0x47) attribute, but range extraction failed (No debug_ranges section), | # CHECK: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x47) attribute, but range extraction failed (No debug_ranges section), | ||||
# CHECK: Function: id = {0x0000001c}, name = "ranges", range = [0x0000000000000000-0x0000000000000004) | # CHECK: Function: id = {0x0000001c}, name = "ranges", range = [0x0000000000000000-0x0000000000000004) | ||||
# CHECK: Blocks: id = {0x0000001c}, range = [0x00000000-0x00000004) | # CHECK: Blocks: id = {0x0000001c}, range = [0x00000000-0x00000004) | ||||
.text | .text | ||||
.p2align 12 | .p2align 12 | ||||
.globl ranges | .globl ranges | ||||
.type ranges,@function | .type ranges,@function | ||||
ranges: # @ranges | ranges: # @ranges | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |