3 ; RUN: rm -rf %t; mkdir %t
4 ; RUN: llvm-as %s -o %t/test.o
6 ; RUN: %lld %t/test.o --lto-O0 -o %t/test
7 ; RUN: llvm-nm -pa %t/test | FileCheck %s --check-prefixes=CHECK-O0
9 ; RUN: %lld %t/test.o --lto-O2 -o %t/test
10 ; RUN: llvm-nm -pa %t/test | FileCheck %s --check-prefixes=CHECK-O2
12 ; RUN: %lld %t/test.o -o %t/test
13 ; RUN: llvm-nm -pa %t/test | FileCheck %s --check-prefixes=CHECK-O2
18 target triple = "x86_64-apple-macosx10.15.0"
19 target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
21 define internal void @foo() {