forked from OSchip/llvm-project
[lld/mac] add a comment pointing to a test that took me a while to find
This commit is contained in:
parent
05953cf615
commit
487885129c
|
@ -20,6 +20,9 @@
|
||||||
# EXPORTS-NM-DAG: (__TEXT,__cstring) non-external (was a private external) _foo
|
# EXPORTS-NM-DAG: (__TEXT,__cstring) non-external (was a private external) _foo
|
||||||
# EXPORTS-NM-DAG: (__TEXT,__cstring) external _bar
|
# 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
|
#--- basics.s
|
||||||
.section __TEXT,__cstring
|
.section __TEXT,__cstring
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos %s -o %t.o
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos %s -o %t.o
|
||||||
# RUN: %lld -dylib %t.o -o %t.dylib -lSystem
|
# RUN: %lld -dylib %t.o -o %t.dylib -lSystem
|
||||||
|
|
||||||
# RUN: llvm-objdump --macho --weak-bind %t.dylib | FileCheck %s
|
# RUN: llvm-objdump --macho --weak-bind %t.dylib | FileCheck %s
|
||||||
# CHECK-NOT: __got
|
# CHECK-NOT: __got
|
||||||
# CHECK-NOT: __la_symbol_ptr
|
# CHECK-NOT: __la_symbol_ptr
|
||||||
|
|
Loading…
Reference in New Issue