mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 09:45:00 +00:00
Add a test for the mtriple plugin option.
llvm-svn: 214186
This commit is contained in:
parent
8013451450
commit
bf1a81b6b5
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