xref: /llvm-project/lld/test/MachO/add-ast-path.s (revision c23b92acd0654bd63942fd70d39c7955354ba3f6)
1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o
3# RUN: %lld -lSystem %t.o -o %t -add_ast_path asdf -add_ast_path fdsa
4# RUN: dsymutil -s %t | FileCheck %s
5# CHECK:      [     0] {{[0-9a-f]+}} 32 (N_AST        ) 00     0000   0000000000000000 'asdf'
6# CHECK-NEXT: [     1] {{[0-9a-f]+}} 32 (N_AST        ) 00     0000   0000000000000000 'fdsa'
7
8.globl _main
9
10_main:
11  ret
12