forked from OSchip/llvm-project
11 lines
230 B
ArmAsm
11 lines
230 B
ArmAsm
|
# REQUIRES: x86
|
||
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
|
||
|
# RUN: ld.lld %t -o %t1 --gc-sections --undefined=foo
|
||
|
# RUN: llvm-readobj -t %t1 | FileCheck %s
|
||
|
|
||
|
# CHECK: foo
|
||
|
|
||
|
.section .foo,"ax"
|
||
|
.global foo
|
||
|
foo:
|