[lld/mac] add a comment pointing to a test that took me a while to find
authorNico Weber <thakis@chromium.org>
Thu, 22 Apr 2021 13:09:39 +0000 (09:09 -0400)
committerNico Weber <thakis@chromium.org>
Thu, 22 Apr 2021 13:09:55 +0000 (09:09 -0400)
lld/test/MachO/private-extern.s
lld/test/MachO/weak-private-extern.s

index c8c96aa..320e1a9 100644 (file)
@@ -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
 
index 78fb426..0a19f50 100644 (file)
@@ -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