You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
725 B
26 lines
725 B
4 months ago
|
; RUN: llvm-as %s -o %t.o
|
||
|
; REQUIRES: asserts
|
||
|
|
||
|
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
|
||
|
; RUN: --plugin-opt=disable-verify \
|
||
|
; RUN: --plugin-opt=-debug-pass=Arguments \
|
||
|
; RUN: -shared %t.o -o %t2.o 2>&1 | FileCheck %s
|
||
|
|
||
|
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
|
||
|
; RUN: --plugin-opt=-debug-pass=Arguments \
|
||
|
; RUN: -shared %t.o -o %t2.o 2>&1 | FileCheck %s -check-prefix=VERIFY
|
||
|
|
||
|
target triple = "x86_64-unknown-linux-gnu"
|
||
|
|
||
|
; -disable-verify should disable output verification from the optimization
|
||
|
; pipeline.
|
||
|
; CHECK: Pass Arguments: {{.*}} -verify -
|
||
|
; CHECK-NOT: -verify
|
||
|
|
||
|
; VERIFY: Pass Arguments: {{.*}} -verify {{.*}} -verify
|
||
|
|
||
|
define void @f() {
|
||
|
entry:
|
||
|
ret void
|
||
|
}
|