annotate lld/test/ELF/gc-sections-undefined.s @ 192:d7606dcf6fce

Added tag llvm10 for changeset 0572611fdcc8
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 14 Dec 2020 18:01:34 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 # REQUIRES: x86
anatofuz
parents:
diff changeset
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
anatofuz
parents:
diff changeset
3 # RUN: ld.lld %t -o %t1 --gc-sections --undefined=foo
anatofuz
parents:
diff changeset
4 # RUN: llvm-readobj --symbols %t1 | FileCheck %s
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 # CHECK: foo
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 .section .foo,"ax"
anatofuz
parents:
diff changeset
9 .global foo
anatofuz
parents:
diff changeset
10 foo: