brintos

brintos / llvm-project-archived public Read only

0
0
Text · 870 B · cc1c3d1 Raw
27 lines · plain
1// RUN: llvm-mc -triple x86_64-unknown-linux-gnu -filetype obj -g -dwarf-version 5 -o %t %s2// RUN: llvm-dwarfdump -debug-info -debug-line %t | FileCheck %s3 4// CHECK-NOT: DW_TAG_5 6// CHECK:      include_directories[ 0] =7// CHECK-NOT:  include_directories[ 1] =8// CHECK:      file_names[ 0]:9// CHECK-NEXT:           name: "/MyTest/Inputs/other.S"10// CHECK-NEXT:      dir_index: 011// CHECK-NOT:  file_names[ 1]:12 13// RUN: llvm-mc -triple=x86_64 -filetype=obj -g -dwarf-version=5 -fdebug-prefix-map=/MyTest=/src_root %s -o %t.5.o14// RUN: llvm-dwarfdump -debug-info -debug-line %t.5.o | FileCheck %s --check-prefixes=MAP15 16// MAP-NOT: DW_TAG_17 18// MAP:      include_directories[  0] = "{{.*}}"19// MAP-NEXT: file_names[  0]:20// MAP-NEXT:            name: "/src_root/Inputs/other.S"21// MAP-NEXT:       dir_index: 022 23# 1 "/MyTest/Inputs/other.S"24 25.section .data26.asciz "data"27