2 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o
3 # RUN: %lld -lSystem %t.o -o %t
4 # RUN: llvm-objdump --macho --syms --exports-trie %t | FileCheck %s
6 # CHECK-LABEL: SYMBOL TABLE:
7 # CHECK-DAG: 000000000000dead g *ABS* _foo
8 # CHECK-DAG: 000000000000beef g *ABS* _weakfoo
9 # CHECK-DAG: 000000000000cafe l *ABS* _localfoo
11 # CHECK-LABEL: Exports trie:
12 # CHECK-DAG: 0x0000DEAD _foo [absolute]
13 # CHECK-DAG: 0x0000BEEF _weakfoo [absolute]
15 .globl _foo, _weakfoo, _main
16 .weak_definition _weakfoo