mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-17 04:50:15 +00:00
Add a test for PR33820.
This would have found the issue. llvm-svn: 308389
This commit is contained in:
parent
e8411cba87
commit
483506562c
13
lld/test/ELF/version-script-twice.s
Normal file
13
lld/test/ELF/version-script-twice.s
Normal file
@ -0,0 +1,13 @@
|
||||
# REQUIRES: x86
|
||||
|
||||
# RUN: echo "FBSD_1.2 {};" > %t.ver
|
||||
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
|
||||
# RUN: ld.lld -shared %t.o -o %t.so --version-script=%t.ver
|
||||
# RUN: llvm-nm --dynamic %t.so | FileCheck %s
|
||||
|
||||
.weak openat
|
||||
openat:
|
||||
openat@@FBSD_1.2 = openat
|
||||
|
||||
# CHECK: 0000000000001000 W openat
|
||||
# CHECK-NEXT: 0000000000001000 W openat
|
Loading…
Reference in New Issue
Block a user