mirror of
https://github.com/RPCSX/llvm.git
synced 2026-01-31 01:05:23 +01:00
With this it handle -fPIE. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273499 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
257 B
LLVM
17 lines
257 B
LLVM
; RUN: llc < %s -mtriple=powerpc-pc-linux -relocation-model=pic | FileCheck %s
|
|
|
|
|
|
define void @f() {
|
|
ret void
|
|
}
|
|
|
|
define void @g() {
|
|
; CHECK: g:
|
|
; CHECK: bl f{{$}}
|
|
call void @f()
|
|
ret void
|
|
}
|
|
|
|
!llvm.module.flags = !{!0}
|
|
!0 = !{i32 1, !"PIE Level", i32 1}
|