Home | History | Annotate | Download | only in X86
      1 ; RUN: llvm-as %s -o=%t1
      2 ; RUN: rm -f %t2
      3 ; RUN: llvm-ar rcs %t2 %t1
      4 ; RUN: llvm-nm -M %t2 | FileCheck %s
      5 
      6 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
      7 target triple = "x86_64-unknown-linux-gnu"
      8 
      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"
     13 
     14 ; CHECK: Archive map
     15 ; CHECK-NEXT: global_asm_sym in archive-ir-asm.ll
     16 
     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
     21