brintos

brintos / llvm-project-archived public Read only

0
0
Text · 675 B · 6fd155e Raw
29 lines · plain
1; REQUIRES: x862 3; RUN: rm -rf %t; mkdir %t4; RUN: llvm-as  %s -o %t/test.o5 6; RUN: %lld %t/test.o --lto-O0 -o %t/test7; RUN: llvm-nm -pa %t/test | FileCheck %s --check-prefixes=CHECK-O08 9; RUN: %lld %t/test.o --lto-O2 -o %t/test10; RUN: llvm-nm -pa %t/test | FileCheck %s --check-prefixes=CHECK-O211 12; RUN: %lld %t/test.o -o %t/test13; RUN: llvm-nm -pa %t/test | FileCheck %s --check-prefixes=CHECK-O214 15; CHECK-O0: foo16; CHECK-O2-NOT: foo17 18target triple = "x86_64-apple-macosx10.15.0"19target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"20 21define internal void @foo() {22  ret void23}24 25define void @main() {26  call void @foo()27  ret void28}29