brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · d7d796b Raw
25 lines · plain
1# XFAIL: target={{.*}}-aix{{.*}}2# UNSUPPORTED: target={{.*}}-zos{{.*}}3# REQUIRES: object-emission4# RUN: llvm-mc -dwarf-version 4 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s5# RUN: llvm-mc -dwarf-version 4 %s --fatal-warnings -o - | FileCheck %s --check-prefix=ASM6# RUN: llvm-mc -dwarf-version 5 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s7# RUN: llvm-mc -dwarf-version 5 %s -o - | FileCheck %s --check-prefix=ASM8 9## If the DWARF version is less than 5, .file 0 upgrades the version to 5.10        .file 0 "/test" "root.cpp"11        .file 1 "/include" "header.h"12        .file 2 "/test" "root.cpp"13# CHECK:       include_directories[  0] = "/test"14# CHECK-NEXT:  include_directories[  1] = "/include"15# CHECK:       file_names[  0]:16# CHECK-NEXT:             name: "root.cpp"17# CHECK-NEXT:        dir_index: 018# CHECK-NEXT:  file_names[  1]:19# CHECK-NEXT:             name: "header.h"20# CHECK-NEXT:        dir_index: 121 22# ASM:     .file 0 "/test" "root.cpp"23# ASM:     .file 1 "/include" "header.h"24# ASM-NOT: .file25