reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # REQUIRES: x86 # RUN: rm -f %t.a # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/archive2.s -o %t1.o # RUN: llvm-ar rcs %t.a %t1.o # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t2.o # RUN: ld.lld -shared -o %t.so --export-dynamic-symbol foo %t.a %t2.o # RUN: llvm-readelf -dyn-symbols %t.so | FileCheck %s # RUN: ld.lld -shared -o %t.so --export-dynamic --export-dynamic-symbol foo %t.a %t2.o # RUN: llvm-readelf -dyn-symbols %t.so | FileCheck %s # CHECK: foo .global _start _start: nop |