Start on llvm IR target
# Conflicts: # README.md
This commit is contained in:
parent
8502abeff6
commit
cfae563aef
BIN
3-lang0ll/A Gentle Introduction to LLVM IR · mcyoung.pdf
Normal file
BIN
3-lang0ll/A Gentle Introduction to LLVM IR · mcyoung.pdf
Normal file
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
#include <stdio.h>
|
||||
|
||||
void print(char * x)
|
||||
{
|
||||
return;
|
||||
@ -11,7 +13,7 @@ int sum(int a, int b)
|
||||
int main()
|
||||
{
|
||||
char * foo = "Hello, world!";
|
||||
print("This is a test.");
|
||||
printf("This is a test.");
|
||||
|
||||
return sum(7, 15);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user