3 # RUN: llvm-mc -filetype=obj -triple=arm64-apple-darwin %s -o %t.o
4 # RUN: not %lld -arch arm64 %t.o -o /dev/null 2>&1 | FileCheck -DFILE=%t.o %s
6 # CHECK: error: undefined symbol: _undef
7 # CHECK-NEXT: >>> referenced by [[FILE]]:(symbol _main+0x0)
8 # CHECK-NEXT: >>> referenced by [[FILE]]:(symbol _foo+0x0)
9 # CHECK-NEXT: >>> referenced by [[FILE]]:(symbol _bar+0x0)
10 # CHECK-NEXT: >>> referenced 1 more times
28 .subsections_via_symbols