brintos

brintos / llvm-project-archived public Read only

0
0
Text · 438 B · 6affe5d Raw
20 lines · plain
1; RUN: llvm-as %s -o %t.o2 3; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \4; RUN:    --plugin-opt=emit-llvm \5; RUN:    -shared %t.o -o %t2.o \6; RUN:    -version-script=%p/Inputs/linker-script.export7; RUN: llvm-dis %t2.o -o - | FileCheck %s8 9target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"10 11; CHECK: define void @f()12define void @f() {13  ret void14}15 16; CHECK: define internal void @g()17define void @g() {18  ret void19}20