Sign in
llvm
/
llvm-project
/
lld
/
877ba1c811157ccd319ed139b30caa8d86a7717a
/
.
/
test
/
ELF
/
gc-sections-undefined.s
blob: e681d9ab22b9e802d699e433718465c52453aeae [
file
] [
log
] [
blame
]
# 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 --symbols %t1 | FileCheck %s
# CHECK: foo
.section .foo
,
"ax"
.global foo
foo
: