mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-26 06:22:56 +02:00
6c4a0b7a05
With this it handle -fPIE. llvm-svn: 273499
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}
|