Mercurial > hg > CbC > CbC_llvm
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 |
rev | line source |
---|---|
150 | 1 // REQUIRES: x86 |
2 | |
3 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o | |
4 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/shared.s -o %t2.o | |
5 // RUN: ld.lld -shared %t2.o -o %t2.so | |
6 // RUN: ld.lld %t.o %t2.so -o %t | |
7 // RUN: llvm-readobj -r %t | FileCheck %s | |
8 // RUN: ld.lld %t2.so %t.o -o %t | |
9 // RUN: llvm-readobj -r %t | FileCheck %s | |
10 | |
11 // CHECK: Relocations [ | |
12 // CHECK-NEXT: ] | |
13 | |
14 .global _start | |
15 _start: | |
16 callq bar | |
17 .hidden bar | |
18 .weak bar |