-
-
Save xackus/57ffced0fef1c5df008f86bfd971a8e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; ModuleID = 'basic' | |
source_filename = "basic" | |
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" | |
target triple = "x86_64-unknown-linux-gnu" | |
%"[]u8" = type { i8*, i64 } | |
%std.builtin.StackTrace = type { i64, %"[]usize" } | |
%"[]usize" = type { i64*, i64 } | |
@panic.1 = internal unnamed_addr constant void (%"[]u8"*, %std.builtin.StackTrace*)* @panic, align 8 | |
@zig_is_stage2 = internal unnamed_addr constant i1 false, align 1 | |
@output_mode = internal unnamed_addr constant i2 -2, align 1 | |
; Function Attrs: nobuiltin noredzone noreturn nounwind sspstrong | |
define internal fastcc void @panic(%"[]u8"* nonnull readonly align 8 %0, %std.builtin.StackTrace* align 8 %1) unnamed_addr #0 { | |
Entry: | |
%error_return_trace = alloca %std.builtin.StackTrace*, align 8 | |
store %std.builtin.StackTrace* %1, %std.builtin.StackTrace** %error_return_trace, align 8 | |
br label %WhileCond | |
WhileCond: ; preds = %WhileCond, %Entry | |
br label %WhileCond | |
} | |
; Function Attrs: nobuiltin noredzone nounwind sspstrong | |
define void @entry() #1 { | |
Entry: | |
%a = alloca i32, align 4 | |
store i32 187, i32* %a, align 4 | |
ret void | |
} | |
attributes #0 = { nobuiltin noredzone noreturn nounwind sspstrong "frame-pointer"="all" "stack-protector-buffer-size"="4" } | |
attributes #1 = { nobuiltin noredzone nounwind sspstrong "frame-pointer"="all" "stack-protector-buffer-size"="4" } | |
!llvm.module.flags = !{!0, !1, !2} | |
!llvm.dbg.cu = !{!3} | |
!0 = !{i32 2, !"Debug Info Version", i32 3} | |
!1 = !{i32 2, !"Dwarf Version", i32 4} | |
!2 = !{i32 7, !"PIC Level", i32 2} | |
!3 = distinct !DICompileUnit(language: DW_LANG_C99, file: !4, producer: "zig 0.8.0", isOptimized: false, runtimeVersion: 0, emissionKind: NoDebug, enums: !5) | |
!4 = !DIFile(filename: "basic", directory: ".") | |
!5 = !{!6} | |
!6 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "std.builtin.OutputMode", scope: !7, file: !7, line: 443, baseType: !8, size: 8, align: 8, elements: !9) | |
!7 = !DIFile(filename: "builtin.zig", directory: "/home/mwa/code/zig/lib/std") | |
!8 = !DIBasicType(name: "u2", size: 8, encoding: DW_ATE_unsigned) | |
!9 = !{!10, !11, !12} | |
!10 = !DIEnumerator(name: "Exe", value: 0) | |
!11 = !DIEnumerator(name: "Lib", value: 1) | |
!12 = !DIEnumerator(name: "Obj", value: 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment