Compilation is now done with each module compiled together.

This commit is contained in:
Christoffer Lerno
2021-05-10 16:13:10 +02:00
committed by Christoffer Lerno
parent 15a65d0c97
commit 9b86b00834
43 changed files with 311 additions and 156 deletions

View File

@@ -11,7 +11,7 @@ Foo g = { .b = 2.3 };
Foo h = { .a = 23, .b = 2.3 };
Foo i = { .b = 2.3, .a = 23 };
// #expect: union_codegen_const.ll
// #expect: test.ll
@f = protected global { i32, [4 x i8] } { i32 23, [4 x i8] undef }, align 8
@g = protected global %test.Foo { double 2.300000e+00 }, align 8

View File

@@ -17,7 +17,7 @@ func void test()
UnionB b = { .c = bar(), .b = {} };
}
// #expect: union_codegen_overwrite_call.ll
// #expect: test.ll
entry:
%b = alloca %test.UnionB, align 8

View File

@@ -17,7 +17,7 @@ func void test(Blend_Map_Entry* foo)
{
}
// #expect: union_in_struct.ll
// #expect: test.ll
%test.Blend_Map_Entry = type { %test.vals }