repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[TargetVersion] Only enable on RISC-V and AArch64" (#117110)
[llvm-project.git]
/
bolt
/
test
/
RISCV
/
reloc-call.s
blob
37cfd993b95d2b9b8f88224eff6b70b42d60fc44
1
//
RUN
: %
clang
%
cflags
-
o
%
t
%
s
2
//
RUN
:
llvm-bolt
--
print-fix-riscv-calls
--
print-only
=
_start
-
o
%
t.null
%
t
\
3
//
RUN
:
| FileCheck
%
s
4
5
.text
6
7
.global f
8
.p2align 1
9
f
:
10
ret
11
.size f, .-f
12
13
//
CHECK
:
Binary Function
"_start"
after fix-riscv-calls
{
14
.globl _start
15
.p2align 1
16
_start
:
17
//
CHECK
:
call f
18
call f
19
ret
20
.size _start, .-_start