24 lines · plain
1; RUN: llc < %s -mtriple=arm-linux | FileCheck %s -check-prefix=LINUX2; RUN: llc < %s -mtriple=arm-apple-darwin | FileCheck %s -check-prefix=DARWIN3 4@a = hidden global i32 05@b = external global i326 7define weak hidden void @t1() nounwind {8; LINUX: .hidden t19; LINUX-LABEL: t1:10 11; DARWIN: .private_extern _t112; DARWIN-LABEL: t1:13 ret void14}15 16define weak void @t2() nounwind {17; LINUX-LABEL: t2:18; LINUX: .hidden a19 20; DARWIN-LABEL: t2:21; DARWIN: .private_extern _a22 ret void23}24