Skip to content

Commit fcfe5cc

Browse files
author
Jonathan Rocher
committed
Add comments about compilation.
1 parent 33a86b1 commit fcfe5cc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

llvm_clang_demo.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
1+
/* This test file is used to demo how to compile C down to the LLVM Intermediate
2+
Representation (LLVM-IR). To do so compile it with
3+
clang llvm_clang_demo.c -c -emit-llvm -S -o llvm_clang_demo.ll
4+
*/
25

36
int foo(int a, int b)
47
{

0 commit comments

Comments
 (0)