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
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 %t1.o
anatofuz
parents:
diff changeset
3 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/symbol-override.s -o %t2.o
anatofuz
parents:
diff changeset
4 // RUN: ld.lld -shared %t2.o -o %t2.so
anatofuz
parents:
diff changeset
5 // RUN: ld.lld %t1.o %t2.so -o %t
anatofuz
parents:
diff changeset
6 // RUN: llvm-nm -D %t | FileCheck %s
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 // CHECK: do
anatofuz
parents:
diff changeset
9 // CHECK-NEXT: foo
anatofuz
parents:
diff changeset
10 // CHECK-NOT: {{.}}
anatofuz
parents:
diff changeset
11
anatofuz
parents:
diff changeset
12 .text
anatofuz
parents:
diff changeset
13 .globl foo
anatofuz
parents:
diff changeset
14 .type foo,@function
anatofuz
parents:
diff changeset
15 foo:
anatofuz
parents:
diff changeset
16 nop
anatofuz
parents:
diff changeset
17
anatofuz
parents:
diff changeset
18 .text
anatofuz
parents:
diff changeset
19 .globl _start
anatofuz
parents:
diff changeset
20 _start:
anatofuz
parents:
diff changeset
21 callq do@plt