mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-11 17:08:42 +00:00
6396c37017
llvm-svn: 318883
11 lines
258 B
ArmAsm
11 lines
258 B
ArmAsm
# REQUIRES: x86
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
|
|
# RUN: ld.lld -o %t.so -shared %t.o --defsym=foo2=foo1
|
|
# RUN: llvm-readobj --dyn-symbols %t.so | FileCheck %s
|
|
|
|
# CHECK: Name: foo1
|
|
# CHECK: Name: foo2
|
|
|
|
.globl foo1
|
|
foo1 = 0x123
|