mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 23:43:50 +00:00
Add a test for the mtriple plugin option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214186 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
34fa69757f
commit
800b4d1157
7
test/tools/gold/mtriple.ll
Normal file
7
test/tools/gold/mtriple.ll
Normal file
@ -0,0 +1,7 @@
|
||||
; RUN: llvm-as %s -o %t.o
|
||||
; RUN: ld -plugin %llvmshlibdir/LLVMgold.so -m elf32ppc \
|
||||
; RUN: -plugin-opt=mtriple=powerpc-linux-gnu \
|
||||
; RUN: -shared %t.o -o %t2.o
|
||||
; RUN: llvm-readobj %t2.o | FileCheck %s
|
||||
|
||||
; CHECK: Format: ELF32-ppc
|
Loading…
Reference in New Issue
Block a user