mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 22:00:10 +00:00
LLVMgold.so: Fix tests after D95380
This commit is contained in:
parent
039567b664
commit
50e4e385a4
@ -2,12 +2,12 @@
|
||||
; REQUIRES: asserts
|
||||
|
||||
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
|
||||
; RUN: --plugin-opt=disable-verify \
|
||||
; RUN: --plugin-opt=disable-verify --plugin-opt=legacy-pass-manager \
|
||||
; 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%shlibext \
|
||||
; RUN: --plugin-opt=-debug-pass=Arguments \
|
||||
; RUN: --plugin-opt=-debug-pass=Arguments --plugin-opt=legacy-pass-manager \
|
||||
; RUN: -shared %t.o -o %t2.o 2>&1 | FileCheck %s -check-prefix=VERIFY
|
||||
|
||||
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
|
@ -4,7 +4,7 @@
|
||||
; RUN: -plugin-opt=O0 -r -o %t.o %t.bc
|
||||
; RUN: llvm-dis < %t.o.0.4.opt.bc -o - | FileCheck --check-prefix=CHECK-O0 %s
|
||||
; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=save-temps \
|
||||
; RUN: -m elf_x86_64 \
|
||||
; RUN: -m elf_x86_64 --plugin-opt=legacy-pass-manager \
|
||||
; RUN: -plugin-opt=O1 -r -o %t.o %t.bc
|
||||
; RUN: llvm-dis < %t.o.0.4.opt.bc -o - | FileCheck --check-prefix=CHECK-O1 --check-prefix=CHECK-O1-OLDPM %s
|
||||
; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=save-temps \
|
||||
|
@ -1,7 +1,7 @@
|
||||
; Test plugin options for opt-remarks.
|
||||
; RUN: llvm-as %s -o %t.o
|
||||
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext -shared \
|
||||
; RUN: -plugin-opt=save-temps \
|
||||
; RUN: -plugin-opt=save-temps -plugin-opt=legacy-pass-manager \
|
||||
; RUN: -plugin-opt=opt-remarks-passes=inline \
|
||||
; RUN: -plugin-opt=opt-remarks-format=yaml \
|
||||
; RUN: -plugin-opt=opt-remarks-filename=%t.yaml %t.o -o %t2.o 2>&1
|
||||
|
@ -1,7 +1,7 @@
|
||||
; RUN: llvm-as %s -o %t.o
|
||||
|
||||
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
|
||||
; RUN: --plugin-opt=save-temps \
|
||||
; RUN: --plugin-opt=save-temps --plugin-opt=legacy-pass-manager \
|
||||
; RUN: -shared %t.o -o %t2.o
|
||||
; RUN: llvm-dis %t2.o.0.4.opt.bc -o - | FileCheck %s
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
; RUN: llvm-as %s -o %t.o
|
||||
|
||||
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
|
||||
; RUN: --plugin-opt=save-temps \
|
||||
; RUN: --plugin-opt=save-temps --plugin-opt=legacy-pass-manager \
|
||||
; RUN: -shared %t.o -o %t2.o
|
||||
; RUN: llvm-dis %t2.o.0.4.opt.bc -o - | FileCheck %s
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user