1 ; RUN: llvm-as %s -o=%t1
3 ; RUN: llvm-ar rcs %t2 %t1
4 ; RUN: llvm-nm --print-armap %t2 | FileCheck %s
6 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
7 target triple = "x86_64-unknown-linux-gnu"
9 module asm ".global global_asm_sym"
10 module asm "global_asm_sym:"
11 module asm "local_asm_sym:"
12 module asm ".long undef_asm_sym"
15 ; CHECK-NEXT: global_asm_sym in archive-ir-asm.ll
17 ; CHECK: archive-ir-asm.ll
18 ; CHECK-NEXT: T global_asm_sym
19 ; CHECK-NEXT: t local_asm_sym
20 ; CHECK-NEXT: U undef_asm_sym