annotate lld/test/COFF/lib-module-asm.ll @ 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 ; PR41803: llvm-link /lib on object with module asm crashes
anatofuz
parents:
diff changeset
3 ; RUN: rm -f %t.lib
anatofuz
parents:
diff changeset
4 ; RUN: llvm-as -o %t.obj %s
anatofuz
parents:
diff changeset
5 ; RUN: lld-link /lib /out:%t.lib %t.obj
anatofuz
parents:
diff changeset
6 ; RUN: llvm-nm -M %t.lib | FileCheck %s
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 target datalayout = "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:32-n8:16:32-a:0:32-S32"
anatofuz
parents:
diff changeset
9 target triple = "i386-pc-windows-msvc19.11.0"
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 module asm ".global global_asm_sym"
anatofuz
parents:
diff changeset
12 module asm "global_asm_sym:"
anatofuz
parents:
diff changeset
13 module asm "local_asm_sym:"
anatofuz
parents:
diff changeset
14 module asm ".long undef_asm_sym"
anatofuz
parents:
diff changeset
15
anatofuz
parents:
diff changeset
16 ; CHECK: Archive map
anatofuz
parents:
diff changeset
17 ; CHECK-NEXT: global_asm_sym in {{.*}}lib-module-asm.ll.tmp.obj
anatofuz
parents:
diff changeset
18
anatofuz
parents:
diff changeset
19 ; CHECK: lib-module-asm.ll.tmp.obj:{{$}}
anatofuz
parents:
diff changeset
20 ; CHECK-NEXT: T global_asm_sym
anatofuz
parents:
diff changeset
21 ; CHECK-NEXT: t local_asm_sym
anatofuz
parents:
diff changeset
22 ; CHECK-NEXT: U undef_asm_sym