Home | History | Annotate | Download | only in X86
      1 ; RUN: llvm-as %s -o %t.o
      2 ; REQUIRES: asserts
      3 
      4 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
      5 ; RUN:    --plugin-opt=disable-verify \
      6 ; RUN:    --plugin-opt=-debug-pass=Arguments \
      7 ; RUN:    -shared %t.o -o %t2.o 2>&1 | FileCheck %s
      8 
      9 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
     10 ; RUN:    --plugin-opt=-debug-pass=Arguments \
     11 ; RUN:    -shared %t.o -o %t2.o 2>&1 | FileCheck %s -check-prefix=VERIFY
     12 
     13 target triple = "x86_64-unknown-linux-gnu"
     14 
     15 ; -disable-verify should disable output verification from the optimization
     16 ; pipeline.
     17 ; CHECK: Pass Arguments: {{.*}} -verify -ipsccp
     18 ; CHECK-NOT: -verify
     19 
     20 ; VERIFY: Pass Arguments: {{.*}} -verify {{.*}} -verify
     21 
     22 define void @f() {
     23 entry:
     24   ret void
     25 }
     26