mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
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:
committed by
Christoffer Lerno
parent
df41caabdd
commit
b1d83e2ccd
@@ -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
|
||||
Reference in New Issue
Block a user