• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -triple x86_64-unknown-linux-gnu -filetype obj -g -dwarf-version 4 -o %t %s
2// RUN: llvm-dwarfdump -debug-info -debug-line %t | FileCheck %s
3
4// CHECK: DW_TAG_compile_unit
5// CHECK-NOT: DW_TAG_
6// CHECK: DW_AT_name      ("/MyTest/Inputs{{(/|\\)+}}other.S")
7// CHECK: DW_TAG_label
8// CHECK-NOT: DW_TAG_
9// CHECK: DW_AT_decl_file ("/MyTest/Inputs{{(/|\\)+}}other.S")
10
11// CHECK: include_directories[ 1] = "/MyTest/Inputs"
12// CHECK: file_names[ 1]:
13// CHECK-NEXT: name: "other.S"
14// CHECK-NEXT: dir_index: 1
15
16# 1 "/MyTest/Inputs/other.S"
17
18foo:
19  nop
20  nop
21  nop
22