Auto-import std::core. Fix module assignment of declarations. Introspection improvements. Deref null error panics in safe mode. Support for LLVM 15

This commit is contained in:
Christoffer Lerno
2022-06-21 14:44:28 +02:00
committed by Christoffer Lerno
parent df41caabdd
commit b1d83e2ccd
519 changed files with 26866 additions and 638 deletions

View File

@@ -1,3 +1,4 @@
// #target: macos-x64
module structo;
struct Foo
@@ -21,7 +22,7 @@ private Foo foo8 = FOO7;
%Foo = type { i32, i64 }
@introspect.Foo = linkonce constant i8 1
@.typeid.structo.Foo = linkonce constant { i8, i64 } { i8 10, i64 2 }, align 8
@structo.x = protected unnamed_addr global i64 16, align 8
@structo.foo1 = protected unnamed_addr global %Foo { i32 1, i64 2 }, align 8
@structo.foo2 = protected unnamed_addr global %Foo { i32 2, i64 0 }, align 8
@@ -30,4 +31,4 @@ private Foo foo8 = FOO7;
@structo.foo5 = protected unnamed_addr global %Foo zeroinitializer, align 8
@structo.foo6 = protected unnamed_addr global %Foo zeroinitializer, align 8
@structo.FOO7 = protected unnamed_addr constant %Foo { i32 1, i64 2 }, align 8
@structo.foo8 = protected unnamed_addr global %Foo { i32 1, i64 2 }, align 8
@structo.foo8 = protected unnamed_addr global %Foo { i32 1, i64 2 }, align 8