diff --git a/lld/test/MachO/private-extern.s b/lld/test/MachO/private-extern.s index c8c96aa8e7b3..320e1a97232d 100644 --- a/lld/test/MachO/private-extern.s +++ b/lld/test/MachO/private-extern.s @@ -20,6 +20,9 @@ # EXPORTS-NM-DAG: (__TEXT,__cstring) non-external (was a private external) _foo # EXPORTS-NM-DAG: (__TEXT,__cstring) external _bar +# Tests that weak private_exten symbols aren't referenced in the +# weak bind table are in weak-private.extern.s + #--- basics.s .section __TEXT,__cstring diff --git a/lld/test/MachO/weak-private-extern.s b/lld/test/MachO/weak-private-extern.s index 78fb4260999c..0a19f50ba957 100644 --- a/lld/test/MachO/weak-private-extern.s +++ b/lld/test/MachO/weak-private-extern.s @@ -2,6 +2,7 @@ # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos %s -o %t.o # RUN: %lld -dylib %t.o -o %t.dylib -lSystem + # RUN: llvm-objdump --macho --weak-bind %t.dylib | FileCheck %s # CHECK-NOT: __got # CHECK-NOT: __la_symbol_ptr