Skip to content

Commit d5640a1

Browse files
committed
Some examples of the out of context experience.
1 parent 5f7c32e commit d5640a1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

test/test_files/Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,32 @@
44
zero:
55
${CXX} hello.cc -o hello
66

7+
zero_e:
8+
${CXX} hello.cc -emit-llvm -c
9+
${CXX} hello.bc -o hello
10+
11+
12+
713
one:
814
${CC} foo.c bar.c baz.c main.c -o main
915

1016
two:
1117
${CC} foo.c bar.c baz.c main.c -c
1218
${CC} foo.o bar.o baz.o main.o -o main
1319

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+
1424
mix:
1525
${CC} foo.c bar.c -c
1626
${CC} foo.o bar.o baz.c main.c -o main
1727

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+
1833
objects:
1934
${CC} foo.c -c
2035
${CC} bar.c -c
@@ -44,3 +59,4 @@ mystery:
4459
otool -X -s __WLLVM __llvm_bc main > main.otool
4560
xxd -r main.otool
4661
xxd -r main.otool main.xxd
62+

0 commit comments

Comments
 (0)