This patch renames values of dsymutil/llvm-dwarfutil options: --linker apple -> --linker classic --linker llvm -> --linker parallel The purpose to rename options is to avoid using vendor names and to match with library names. It should be safe to rename options at current stage as they are not seemed widely used(we may not preserve backward compatibility).
22 lines
697 B
Plaintext
22 lines
697 B
Plaintext
# RUN: rm -rf %t
|
|
# RUN: mkdir -p %t
|
|
# RUN: llc -filetype=obj -mtriple arm64-apple-darwin %p/../Inputs/inline.ll -o %t/inline.o
|
|
# RUN: dsymutil -f -oso-prepend-path=%t -y %s -o - | llvm-dwarfdump -debug-line - | FileCheck %s
|
|
# RUN: dsymutil --linker=parallel -f -oso-prepend-path=%t -y %s -o - | llvm-dwarfdump -debug-line - | FileCheck %s
|
|
|
|
# Test inline source files.
|
|
|
|
---
|
|
triple: 'arm64-apple-darwin'
|
|
objects:
|
|
- filename: inline.o
|
|
symbols:
|
|
- { sym: _f, objAddr: 0x0, binAddr: 0x1000, size: 0x12 }
|
|
...
|
|
|
|
# CHECK: .debug_line contents:
|
|
# CHECK: file_names[ 1]:
|
|
# CHECK-NEXT: name: "inlined.c"
|
|
# CHECK-NEXT: dir_index: 1
|
|
# CHECK-NEXT: source: "{{.*}}This is inline source code.
|