1; RUN: llvm-as %s -o - | llvm-nm - | FileCheck %s 2 3; CHECK: D a1 4; CHECK-NEXT: d a2 5; CHECK-NEXT: T f1 6; CHECK-NEXT: t f2 7; CHECK-NEXT: W f3 8; CHECK-NEXT: U f4 9; CHECK-NEXT: w f5 10; CHECK-NEXT: D g1 11; CHECK-NEXT: d g2 12; CHECK-NEXT: C g3 13; CHECK-NOT: g4 14; CHECK-NEXT: T global_asm_sym 15; CHECK-NEXT: T ifunc_f1 16; CHECK-NEXT: t local_asm_sym 17; CHECK-NEXT: U undef_asm_sy 18 19target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 20target triple = "x86_64-unknown-linux-gnu" 21 22module asm ".global global_asm_sym" 23module asm "global_asm_sym:" 24module asm "local_asm_sym:" 25module asm ".long undef_asm_sym" 26 27@g1 = global i32 42 28@g2 = internal global i32 42 29@g3 = common global i32 0 30@g4 = private global i32 42 31 32@a1 = alias i32, i32* @g1 33@a2 = internal alias i32, i32* @g1 34 35define void @f1() { 36 call void @f5() 37 ret void 38} 39 40@ifunc_f1 = ifunc void (), void ()* @f1 41 42define internal void @f2() { 43 ret void 44} 45 46define linkonce_odr void @f3() { 47 ret void 48} 49 50declare void @f4() 51 52declare extern_weak void @f5() 53