Codegen with better annotations on globals.

This commit is contained in:
Christoffer Lerno
2022-01-10 12:25:55 +01:00
committed by Christoffer Lerno
parent 041c096801
commit ea3b50d039
55 changed files with 365 additions and 349 deletions

View File

@@ -10,8 +10,8 @@ fn int main()
/* #expect: foo.ll
@.str = private constant [3 x i8] c"ab\00", align 1
@.str.1 = private constant [4 x i8] c"abc\00", align 1
@.str = private unnamed_addr constant [3 x i8] c"ab\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"abc\00", align 1
define i32 @main() #0 {
entry: