xref: /llvm-project/lld/test/MachO/new-pass-manager.ll (revision f92410429a2cbe4cec5a57a1fe7e43bc02b4d399)
1; REQUIRES: x86
2
3; RUN: llvm-as %s -o %t.o
4; RUN: %lld -dylib --lto-debug-pass-manager -o /dev/null %t.o 2>&1 | FileCheck %s
5
6; CHECK: Running pass: GlobalOptPass
7
8target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
9target triple = "x86_64-apple-darwin"
10
11define void @foo() {
12entry:
13  ret void
14}
15