annotate lld/test/ELF/hidden-vis-shared.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
anatofuz
parents:
diff changeset
3 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
anatofuz
parents:
diff changeset
4 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/shared.s -o %t2.o
anatofuz
parents:
diff changeset
5 // RUN: ld.lld -shared %t2.o -o %t2.so
anatofuz
parents:
diff changeset
6 // RUN: ld.lld %t.o %t2.so -o %t
anatofuz
parents:
diff changeset
7 // RUN: llvm-readobj -r %t | FileCheck %s
anatofuz
parents:
diff changeset
8 // RUN: ld.lld %t2.so %t.o -o %t
anatofuz
parents:
diff changeset
9 // RUN: llvm-readobj -r %t | FileCheck %s
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 // CHECK: Relocations [
anatofuz
parents:
diff changeset
12 // CHECK-NEXT: ]
anatofuz
parents:
diff changeset
13
anatofuz
parents:
diff changeset
14 .global _start
anatofuz
parents:
diff changeset
15 _start:
anatofuz
parents:
diff changeset
16 callq bar
anatofuz
parents:
diff changeset
17 .hidden bar
anatofuz
parents:
diff changeset
18 .weak bar