• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-as < %s >%t.bc
2; RUN: llvm-lto -debug-pass=Arguments -exported-symbol=_f -o /dev/null %t.bc 2>&1 -disable-verify | FileCheck %s
3; RUN: llvm-lto -debug-pass=Arguments -exported-symbol=_f -o /dev/null %t.bc 2>&1 | FileCheck %s -check-prefix=VERIFY
4
5target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
6target triple = "x86_64-apple-macosx10.10.0"
7
8; -disable-verify should disable verification from the optimization pipeline.
9; CHECK: Pass Arguments:
10; CHECK-NOT: -verify
11
12; VERIFY: Pass Arguments: {{.*}} -verify {{.*}} -verify
13
14define void @f() {
15entry:
16  ret void
17}
18