Sign in
cobalt
/
cobalt
/
04cd6faca4dd5039a1b810e9ba7b7a79e51a781d
/
.
/
src
/
third_party
/
llvm-project
/
lld
/
test
/
ELF
/
gc-sections-undefined.s
blob: e1ce9c7397380d20484010c5b3dcf05aa7bb4bec [
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 -t %t1 | FileCheck %s
# CHECK: foo
.section .foo
,
"ax"
.global foo
foo
: