File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 4
4
zero :
5
5
${CXX} hello.cc -o hello
6
6
7
+ zero_e :
8
+ ${CXX} hello.cc -emit-llvm -c
9
+ ${CXX} hello.bc -o hello
10
+
11
+
12
+
7
13
one :
8
14
${CC} foo.c bar.c baz.c main.c -o main
9
15
10
16
two :
11
17
${CC} foo.c bar.c baz.c main.c -c
12
18
${CC} foo.o bar.o baz.o main.o -o main
13
19
20
+ two_e :
21
+ ${CC} -emit-llvm foo.c bar.c baz.c main.c -c
22
+ ${CC} foo.bc bar.bc baz.bc main.bc -o main
23
+
14
24
mix :
15
25
${CC} foo.c bar.c -c
16
26
${CC} foo.o bar.o baz.c main.c -o main
17
27
28
+ mix_e :
29
+ ${CC} -emit-llvm foo.c bar.c -c
30
+ ${CC} foo.bc bar.bc baz.c main.c -o main
31
+
32
+
18
33
objects :
19
34
${CC} foo.c -c
20
35
${CC} bar.c -c
@@ -44,3 +59,4 @@ mystery:
44
59
otool -X -s __WLLVM __llvm_bc main > main.otool
45
60
xxd -r main.otool
46
61
xxd -r main.otool main.xxd
62
+
You can’t perform that action at this time.
0 commit comments