mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
9fe0f5e71e
llvm-svn: 214102
19 lines
532 B
LLVM
19 lines
532 B
LLVM
; RUN: llvm-as %s -o %t.o
|
|
|
|
; RUN: ld -plugin %llvmshlibdir/LLVMgold.so \
|
|
; RUN: --plugin-opt=emit-llvm \
|
|
; RUN: -shared %t.o -o %t2.o
|
|
; RUN: llvm-dis %t2.o -o /dev/null
|
|
|
|
; RUN: ld -plugin %llvmshlibdir/LLVMgold.so \
|
|
; RUN: --plugin-opt=also-emit-llvm \
|
|
; RUN: -shared %t.o -o %t3.o
|
|
; RUN: llvm-dis %t3.o.bc -o /dev/null
|
|
|
|
; RUN: ld -plugin %llvmshlibdir/LLVMgold.so \
|
|
; RUN: --plugin-opt=also-emit-llvm=%t4 \
|
|
; RUN: -shared %t.o -o %t3.o
|
|
; RUN: llvm-dis %t4 -o /dev/null
|
|
|
|
target triple = "x86_64-unknown-linux-gnu"
|