mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 02:46:11 +00:00

Otherwise, we may set IsPreemptible (e.g. --dynamic-list) then clear it (in replaceCommonSymbols()). Reviewed By: ruiu Differential Revision: https://reviews.llvm.org/D62107 llvm-svn: 361122
15 lines
325 B
ArmAsm
15 lines
325 B
ArmAsm
# REQUIRES: x86
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
|
|
# RUN: echo '{ common; };' > %t.list
|
|
# RUN: ld.lld --dynamic-list %t.list -shared %t.o -o %t.so
|
|
|
|
# RUN: llvm-readobj -r %t.so | FileCheck %s
|
|
|
|
# CHECK: R_X86_64_GLOB_DAT common 0x0
|
|
|
|
movq common@gotpcrel(%rip), %rax
|
|
|
|
.type common,@object
|
|
.comm common,4,4
|