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
[AMDGPU] Add True16 register classes.
[llvm-project.git]
/
lldb
/
test
/
API
/
commands
/
disassemble
/
basic
/
main.cpp
blob
4a2d9c106e219648f3b72b050129e4e48286d1cc
1
int
2
sum
(
int
a
,
int
b
)
3
{
4
int
result
=
a
+
b
;
// Set a breakpoint here
5
asm
(
"nop"
);
6
return
result
;
7
}
8
9
int
10
main
(
int
argc
,
char const
*
argv
[])
11
{
12
13
int
array
[
3
];
14
15
array
[
0
] =
sum
(
1238
,
78392
);
16
array
[
1
] =
sum
(
379265
,
23674
);
17
array
[
2
] =
sum
(
872934
,
234
);
18
19
return
0
;
20
}