22 lines · plain
1# RUN: rm -rf %t2# RUN: mkdir -p %t3# RUN: llc -filetype=obj -mtriple arm64-apple-darwin %p/../Inputs/inline.ll -o %t/inline.o4# RUN: dsymutil -f -oso-prepend-path=%t -y %s -o - | llvm-dwarfdump -debug-line - | FileCheck %s5# RUN: dsymutil --linker=parallel -f -oso-prepend-path=%t -y %s -o - | llvm-dwarfdump -debug-line - | FileCheck %s6 7# Test inline source files.8 9---10triple: 'arm64-apple-darwin'11objects:12 - filename: inline.o13 symbols:14 - { sym: _f, objAddr: 0x0, binAddr: 0x1000, size: 0x12 }15...16 17# CHECK: .debug_line contents:18# CHECK: file_names[ 1]:19# CHECK-NEXT: name: "inlined.c"20# CHECK-NEXT: dir_index: 121# CHECK-NEXT: source: "{{.*}}This is inline source code.22