32 lines · plain
1; RUN: llc < %s -mtriple=i686-pc-linux-gnu | FileCheck %s -check-prefix=LINUX2; RUN: llc < %s -mtriple=i686-apple-darwin8 | FileCheck %s -check-prefix=DARWIN3; RUN: llc < %s -mtriple=x86_64-w64-mingw32 | FileCheck %s -check-prefix=WINDOWS4 5 6@a = hidden global i32 07@b = external hidden global i328@c = global ptr @b9 10define weak hidden void @t1() nounwind {11; LINUX: .hidden t112; LINUX-LABEL: t1:13 14; DARWIN: .private_extern _t115; DARWIN-LABEL: t1:16 17; WINDOWS-LABEL: t1:18; WINDOWS-NOT: hidden19 ret void20}21 22define weak void @t2() nounwind {23; DARWIN: .weak_definition _t224 ret void25}26 27; LINUX: .hidden a28; LINUX: .hidden b29 30; DARWIN: .private_extern _a31; DARWIN-NOT: private_extern32