[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / dynamic-list-cpp.s
blob05f11e0079d34f2bfb6e0ad09cd501951da6ae34
1 # REQUIRES: x86
3 ## Confirm both mangled and unmangled names may appear in
4 ## the --dynamic-list file.
6 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
8 # RUN: echo '{ _Z1fv; extern "C++" { "g()"; }; };' > %t.list
9 # RUN: ld.lld -pie --dynamic-list %t.list %t.o -o %t
10 # RUN: llvm-readelf --dyn-syms %t | FileCheck %s
12 # CHECK: Symbol table '.dynsym' contains 3 entries:
13 # CHECK: _Z1fv
14 # CHECK-NEXT: _Z1gv
16 .globl _Z1fv, _Z1gv
17 _Z1fv:
18 _Z1gv: