1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/tools/gold/emit-llvm.ll
2014-07-28 17:37:25 +00:00

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"