[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ELF / dwarf-file0.s
blobbe335406e9329e4ad044dd686f90151f49735baa
1 # UNSUPPORTED: -zos
2 # REQUIRES: default_triple
3 # RUN: llvm-mc -dwarf-version 4 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s
4 # RUN: llvm-mc -dwarf-version 4 %s --fatal-warnings -o - | FileCheck %s --check-prefix=ASM
5 # RUN: llvm-mc -dwarf-version 5 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s
6 # RUN: llvm-mc -dwarf-version 5 %s -o - | FileCheck %s --check-prefix=ASM
8 ## If the DWARF version is less than 5, .file 0 upgrades the version to 5.
9 .file 0 "/test" "root.cpp"
10 .file 1 "/include" "header.h"
11 .file 2 "/test" "root.cpp"
12 # CHECK: include_directories[ 0] = "/test"
13 # CHECK-NEXT: include_directories[ 1] = "/include"
14 # CHECK: file_names[ 0]:
15 # CHECK-NEXT: name: "root.cpp"
16 # CHECK-NEXT: dir_index: 0
17 # CHECK-NEXT: file_names[ 1]:
18 # CHECK-NEXT: name: "header.h"
19 # CHECK-NEXT: dir_index: 1
21 # ASM: .file 0 "/test" "root.cpp"
22 # ASM: .file 1 "/include" "header.h"
23 # ASM-NOT: .file