Mercurial > hg > CbC > CbC_llvm
annotate lld/test/ELF/symbol-override.s @ 266:00f31e85ec16 default tip
Added tag current for changeset 31d058e83c98
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Oct 2023 10:13:55 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 // REQUIRES: x86 |
2 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o | |
3 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/symbol-override.s -o %t2.o | |
4 // RUN: ld.lld -shared %t2.o -o %t2.so | |
5 // RUN: ld.lld %t1.o %t2.so -o %t | |
6 // RUN: llvm-nm -D %t | FileCheck %s | |
7 | |
8 // CHECK: do | |
9 // CHECK-NEXT: foo | |
10 // CHECK-NOT: {{.}} | |
11 | |
12 .text | |
13 .globl foo | |
14 .type foo,@function | |
15 foo: | |
16 nop | |
17 | |
18 .text | |
19 .globl _start | |
20 _start: | |
21 callq do@plt |