Thanks for using Compiler Explorer
Sponsors
Jakt
C++
Ada
Analysis
Android Java
Android Kotlin
Assembly
C
C3
Carbon
C++ (Circle)
CIRCT
Clean
CMake
CMakeScript
COBOL
C++ for OpenCL
MLIR
Cppx
Cppx-Blue
Cppx-Gold
Cpp2-cppfront
Crystal
C#
CUDA C++
D
Dart
Elixir
Erlang
Fortran
F#
Go
Haskell
HLSL
Hook
Hylo
ispc
Java
Julia
Kotlin
LLVM IR
LLVM MIR
Modula-2
Nim
Objective-C
Objective-C++
OCaml
OpenCL C
Pascal
Pony
Python
Racket
Ruby
Rust
Snowball
Scala
Solidity
Spice
Swift
LLVM TableGen
Toit
TypeScript Native
V
Vala
Visual Basic
WASM
Zig
Javascript
GIMPLE
llvm source #3
Output
Compile to binary object
Link to binary
Execute the code
Intel asm syntax
Demangle identifiers
Verbose demangling
Filters
Unused labels
Library functions
Directives
Comments
Horizontal whitespace
Debug intrinsics
Compiler
clang (assertions trunk)
clang (trunk)
clang 10.0.0
clang 10.0.1
clang 11.0.0
clang 11.0.1
clang 12.0.0
clang 12.0.1
clang 13.0.0
clang 14.0.0
clang 15.0.0
clang 16.0.0
clang 17.0.1
clang 18.1.0
clang 4.0.1
clang 5.0.0
clang 6.0.0
clang 7.0.0
clang 8.0.0
clang 9.0.0
llc (assertions trunk)
llc (trunk)
llc 10.0.0
llc 10.0.1
llc 11.0.0
llc 11.0.1
llc 12.0.0
llc 12.0.1
llc 13.0.0
llc 14.0.0
llc 15.0.0
llc 16.0.0
llc 17.0.1
llc 18.1.0
llc 3.2
llc 3.3
llc 3.9.1
llc 4.0.0
llc 4.0.1
llc 5.0.0
llc 6.0.0
llc 7.0.0
llc 8.0.0
llc 9.0.0
opt (assertions trunk)
opt (trunk)
opt 10.0.0
opt 10.0.1
opt 11.0.0
opt 11.0.1
opt 12.0.0
opt 12.0.1
opt 13.0.0
opt 14.0.0
opt 15.0.0
opt 16.0.0
opt 17.0.1
opt 18.1.0
opt 3.2
opt 3.3
opt 3.9.1
opt 4.0.0
opt 4.0.1
opt 5.0.0
opt 6.0.0
opt 7.0.0
opt 8.0.0
opt 9.0.0
Options
Source code
source_filename = "output" target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128" target triple = "riscv64-unknown-linux-musl" %Target.Cpu.Feature.Set = type { [5 x i64] } %Target.Cpu.Model = type { { ptr, i64 }, { ptr, i64 }, %Target.Cpu.Feature.Set } %Target.Cpu = type { ptr, %Target.Cpu.Feature.Set, i6, [7 x i8] } @builtin.zig_backend = internal unnamed_addr constant i64 2, align 8 @Target.Cpu.Feature.Set.empty = internal unnamed_addr constant %Target.Cpu.Feature.Set zeroinitializer, align 8 @Target.riscv.cpu.sifive_x280 = internal unnamed_addr constant %Target.Cpu.Model { { ptr, i64 } { ptr @__anon_280, i64 11 }, { ptr, i64 } { ptr @__anon_283, i64 11 }, %Target.Cpu.Feature.Set { [5 x i64] [i64 206158430254, i64 1154047507593036800, i64 16809984, i64 0, i64 0] } }, align 8 @__anon_280 = internal unnamed_addr global [12 x i8] c"sifive_x280\00", align 1 @__anon_283 = internal unnamed_addr global [12 x i8] c"sifive-x280\00", align 1 @builtin.cpu = internal unnamed_addr constant %Target.Cpu { ptr @Target.riscv.cpu.sifive_x280, %Target.Cpu.Feature.Set { [5 x i64] [i64 210453397566, i64 1732760059710145536, i64 55770112, i64 0, i64 0] }, i6 27, [7 x i8] undef }, align 8 @start.simplified_logic = internal unnamed_addr constant i1 false, align 1 @builtin.output_mode = internal unnamed_addr constant i2 -2, align 1 @__anon_1039 = internal unnamed_addr global [28 x i8] c"integer cast truncated bits\00", align 1 @0 = private unnamed_addr constant { i64, i8, [7 x i8] } { i64 undef, i8 0, [7 x i8] undef }, align 8 @__anon_1052 = internal unnamed_addr global [29 x i8] c"'noreturn' function returned\00", align 1 @1 = private unnamed_addr constant { i64, i8, [7 x i8] } { i64 undef, i8 0, [7 x i8] undef }, align 8 @builtin.panic_messages.cast_truncated_data = internal unnamed_addr constant ptr @__anon_1039, align 8 @builtin.panic_messages.noreturn_returned = internal unnamed_addr constant ptr @__anon_1052, align 8 define dso_local i64 @bar(i64 %0) #0 !dbg !145 { Entry: %1 = alloca i64, align 8 store i64 %0, ptr %1, align 8, !dbg !149 call void @llvm.dbg.declare(metadata ptr %1, metadata !150, metadata !DIExpression()), !dbg !149 %2 = icmp eq i64 %0, 0, !dbg !151 br i1 %2, label %Then, label %Else, !dbg !151 Block: %3 = call i64 @llvm.cttz.i64(i64 %0, i1 false), !dbg !153 %4 = trunc i64 %3 to i7, !dbg !153 %5 = sub i7 63, %4, !dbg !154 %6 = icmp ule i7 %5, 63, !dbg !154 br i1 %6, label %Then1, label %Else1, !dbg !155 Then: ret i64 0, !dbg !157 Else: br label %Block, !dbg !159 Block1: %7 = trunc i7 %4 to i6, !dbg !154 %8 = zext i6 %7 to i64, !dbg !161 %9 = shl i64 1, %8, !dbg !161 ret i64 %9, !dbg !153 Then1: br label %Block1, !dbg !162 Else1: %10 = extractvalue { ptr, i64 } { ptr @__anon_1039, i64 27 }, 0, !dbg !162 %11 = extractvalue { ptr, i64 } { ptr @__anon_1039, i64 27 }, 1, !dbg !162 call fastcc void @example.panic(ptr nonnull readonly align 1 %10, i64 %11, ptr align 8 null, ptr nonnull readonly align 8 @0), !dbg !162 unreachable, !dbg !162 } declare void @llvm.dbg.declare(metadata, metadata, metadata) #1 declare i64 @llvm.cttz.i64(i64, i1 immarg) #1 define internal fastcc void @example.panic(ptr nonnull readonly align 1 %0, i64 %1, ptr align 8 %2, ptr nonnull readonly align 8 %3) unnamed_addr #2 !dbg !164 { Entry: %4 = alloca ptr, align 8 %5 = alloca { ptr, i64 }, align 8 %6 = insertvalue { ptr, i64 } poison, ptr %0, 0 %7 = insertvalue { ptr, i64 } %6, i64 %1, 1 store { ptr, i64 } %7, ptr %5, align 8, !dbg !183 call void @llvm.dbg.declare(metadata ptr %5, metadata !184, metadata !DIExpression()), !dbg !183 store ptr %2, ptr %4, align 8, !dbg !183 call void @llvm.dbg.declare(metadata ptr %4, metadata !185, metadata !DIExpression()), !dbg !183 call void @llvm.dbg.declare(metadata ptr %3, metadata !186, metadata !DIExpression()), !dbg !183 call void @zig_panic(), !dbg !187 %8 = extractvalue { ptr, i64 } { ptr @__anon_1052, i64 28 }, 0, !dbg !187 %9 = extractvalue { ptr, i64 } { ptr @__anon_1052, i64 28 }, 1, !dbg !187 call fastcc void @example.panic(ptr nonnull readonly align 1 %8, i64 %9, ptr align 8 null, ptr nonnull readonly align 8 @1), !dbg !187 unreachable, !dbg !187 } declare void @zig_panic() #2 attributes #0 = { noredzone nounwind "frame-pointer"="all" "target-cpu"="sifive-x280" "target-features"="-32bit,+64bit,+a,+c,+d,+dlen-factor-2,-e,-experimental-smaia,-experimental-ssaia,-experimental-zacas,-experimental-zfa,-experimental-zfbfmin,-experimental-zicond,-experimental-zihintntl,-experimental-ztso,-experimental-zvbb,-experimental-zvbc,-experimental-zvfbfmin,-experimental-zvfbfwma,-experimental-zvkg,-experimental-zvkn,-experimental-zvknc,-experimental-zvkned,-experimental-zvkng,-experimental-zvknha,-experimental-zvknhb,-experimental-zvks,-experimental-zvksc,-experimental-zvksed,-experimental-zvksg,-experimental-zvksh,-experimental-zvkt,+f,-forced-atomics,-h,-lui-addi-fusion,+m,+no-default-unroll,-no-optimized-zero-stride-load,-no-rvc-hints,-relax,-reserve-x1,-reserve-x10,-reserve-x11,-reserve-x12,-reserve-x13,-reserve-x14,-reserve-x15,-reserve-x16,-reserve-x17,-reserve-x18,-reserve-x19,-reserve-x2,-reserve-x20,-reserve-x21,-reserve-x22,-reserve-x23,-reserve-x24,-reserve-x25,-reserve-x26,-reserve-x27,-reserve-x28,-reserve-x29,-reserve-x3,-reserve-x30,-reserve-x31,-reserve-x4,-reserve-x5,-reserve-x6,-reserve-x7,-reserve-x8,-reserve-x9,-save-restore,-seq-cst-trailing-fence,+short-forward-branch-opt,-svinval,-svnapot,-svpbmt,-tagged-globals,-unaligned-scalar-mem,-unaligned-vector-mem,+v,-xcvbitmanip,-xcvmac,-xsfcie,-xsfvcp,-xtheadba,-xtheadbb,-xtheadbs,-xtheadcmo,-xtheadcondmov,-xtheadfmemidx,-xtheadmac,-xtheadmemidx,-xtheadmempair,-xtheadsync,-xtheadvdot,-xventanacondops,-zawrs,+zba,+zbb,-zbc,-zbkb,-zbkc,-zbkx,-zbs,-zca,-zcb,-zcd,-zce,-zcf,-zcmp,-zcmt,-zdinx,+zfh,+zfhmin,-zfinx,-zhinx,-zhinxmin,-zicbom,-zicbop,-zicboz,-zicntr,+zicsr,+zifencei,-zihintpause,-zihpm,-zk,-zkn,-zknd,-zkne,-zknh,-zkr,-zks,-zksed,-zksh,-zkt,-zmmul,+zve32f,+zve32x,+zve64d,+zve64f,+zve64x,+zvfh,-zvl1024b,+zvl128b,-zvl16384b,-zvl2048b,+zvl256b,-zvl32768b,+zvl32b,-zvl4096b,+zvl512b,+zvl64b,-zvl65536b,-zvl8192b" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { noredzone noreturn nounwind "frame-pointer"="all" "target-cpu"="sifive-x280" "target-features"="-32bit,+64bit,+a,+c,+d,+dlen-factor-2,-e,-experimental-smaia,-experimental-ssaia,-experimental-zacas,-experimental-zfa,-experimental-zfbfmin,-experimental-zicond,-experimental-zihintntl,-experimental-ztso,-experimental-zvbb,-experimental-zvbc,-experimental-zvfbfmin,-experimental-zvfbfwma,-experimental-zvkg,-experimental-zvkn,-experimental-zvknc,-experimental-zvkned,-experimental-zvkng,-experimental-zvknha,-experimental-zvknhb,-experimental-zvks,-experimental-zvksc,-experimental-zvksed,-experimental-zvksg,-experimental-zvksh,-experimental-zvkt,+f,-forced-atomics,-h,-lui-addi-fusion,+m,+no-default-unroll,-no-optimized-zero-stride-load,-no-rvc-hints,-relax,-reserve-x1,-reserve-x10,-reserve-x11,-reserve-x12,-reserve-x13,-reserve-x14,-reserve-x15,-reserve-x16,-reserve-x17,-reserve-x18,-reserve-x19,-reserve-x2,-reserve-x20,-reserve-x21,-reserve-x22,-reserve-x23,-reserve-x24,-reserve-x25,-reserve-x26,-reserve-x27,-reserve-x28,-reserve-x29,-reserve-x3,-reserve-x30,-reserve-x31,-reserve-x4,-reserve-x5,-reserve-x6,-reserve-x7,-reserve-x8,-reserve-x9,-save-restore,-seq-cst-trailing-fence,+short-forward-branch-opt,-svinval,-svnapot,-svpbmt,-tagged-globals,-unaligned-scalar-mem,-unaligned-vector-mem,+v,-xcvbitmanip,-xcvmac,-xsfcie,-xsfvcp,-xtheadba,-xtheadbb,-xtheadbs,-xtheadcmo,-xtheadcondmov,-xtheadfmemidx,-xtheadmac,-xtheadmemidx,-xtheadmempair,-xtheadsync,-xtheadvdot,-xventanacondops,-zawrs,+zba,+zbb,-zbc,-zbkb,-zbkc,-zbkx,-zbs,-zca,-zcb,-zcd,-zce,-zcf,-zcmp,-zcmt,-zdinx,+zfh,+zfhmin,-zfinx,-zhinx,-zhinxmin,-zicbom,-zicbop,-zicboz,-zicntr,+zicsr,+zifencei,-zihintpause,-zihpm,-zk,-zkn,-zknd,-zkne,-zknh,-zkr,-zks,-zksed,-zksh,-zkt,-zmmul,+zve32f,+zve32x,+zve64d,+zve64f,+zve64x,+zvfh,-zvl1024b,+zvl128b,-zvl16384b,-zvl2048b,+zvl256b,-zvl32768b,+zvl32b,-zvl4096b,+zvl512b,+zvl64b,-zvl65536b,-zvl8192b" } !llvm.module.flags = !{!0, !1} !llvm.dbg.cu = !{!2} !0 = !{i32 2, !"Debug Info Version", i32 3} !1 = !{i32 2, !"Dwarf Version", i32 4} !2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "zig 0.12.0", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !116, splitDebugInlining: false) !3 = !DIFile(filename: "output", directory: "/app") !4 = !{!5, !21, !110} !5 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "builtin.CompilerBackend", scope: !6, file: !6, line: 974, baseType: !7, size: 64, align: 64, elements: !8) !6 = !DIFile(filename: "builtin.zig", directory: "/opt/compiler-explorer/zig-0.12.0/lib/std") !7 = !DIBasicType(name: "u64", size: 64, encoding: DW_ATE_unsigned) !8 = !{!9, !10, !11, !12, !13, !14, !15, !16, !17, !18, !19, !20} !9 = !DIEnumerator(name: "other", value: 0, isUnsigned: true) !10 = !DIEnumerator(name: "stage1", value: 1, isUnsigned: true) !11 = !DIEnumerator(name: "stage2_llvm", value: 2, isUnsigned: true) !12 = !DIEnumerator(name: "stage2_c", value: 3, isUnsigned: true) !13 = !DIEnumerator(name: "stage2_wasm", value: 4, isUnsigned: true) !14 = !DIEnumerator(name: "stage2_arm", value: 5, isUnsigned: true) !15 = !DIEnumerator(name: "stage2_x86_64", value: 6, isUnsigned: true) !16 = !DIEnumerator(name: "stage2_aarch64", value: 7, isUnsigned: true) !17 = !DIEnumerator(name: "stage2_x86", value: 8, isUnsigned: true) !18 = !DIEnumerator(name: "stage2_riscv64", value: 9, isUnsigned: true) !19 = !DIEnumerator(name: "stage2_sparc64", value: 10, isUnsigned: true) !20 = !DIEnumerator(name: "stage2_spirv64", value: 11, isUnsigned: true) !21 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "Target.Cpu.Arch", scope: !23, file: !22, line: 3385, baseType: !47, size: 8, align: 8, elements: !48) !22 = !DIFile(filename: "Target.zig", directory: "/opt/compiler-explorer/zig-0.12.0/lib/std") !23 = !DICompositeType(tag: DW_TAG_structure_type, name: "Target.Cpu", scope: !2, size: 448, align: 64, elements: !24) !24 = !{!25, !45, !46} !25 = !DIDerivedType(tag: DW_TAG_member, name: "model", scope: !23, baseType: !26, size: 64, align: 64) !26 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "*Target.Cpu.Model", baseType: !27, size: 64, align: 64) !27 = !DICompositeType(tag: DW_TAG_structure_type, name: "Target.Cpu.Model", scope: !2, size: 576, align: 64, elements: !28) !28 = !{!29, !37, !38} !29 = !DIDerivedType(tag: DW_TAG_member, name: "name", scope: !27, baseType: !30, size: 128, align: 64) !30 = !DICompositeType(tag: DW_TAG_structure_type, name: "[]u8", scope: !2, size: 128, align: 64, elements: !31) !31 = !{!32, !35} !32 = !DIDerivedType(tag: DW_TAG_member, name: "ptr", scope: !30, baseType: !33, size: 64, align: 64) !33 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "*u8", baseType: !34, size: 64, align: 8) !34 = !DIBasicType(name: "u8", size: 8, encoding: DW_ATE_unsigned) !35 = !DIDerivedType(tag: DW_TAG_member, name: "len", scope: !30, baseType: !36, size: 64, align: 64, offset: 64) !36 = !DIBasicType(name: "usize", size: 64, encoding: DW_ATE_unsigned) !37 = !DIDerivedType(tag: DW_TAG_member, name: "llvm_name", scope: !27, baseType: !30, size: 128, align: 64, offset: 128) !38 = !DIDerivedType(tag: DW_TAG_member, name: "features", scope: !27, baseType: !39, size: 320, align: 64, offset: 256) !39 = !DICompositeType(tag: DW_TAG_structure_type, name: "Target.Cpu.Feature.Set", scope: !2, size: 320, align: 64, elements: !40) !40 = !{!41} !41 = !DIDerivedType(tag: DW_TAG_member, name: "ints", scope: !39, baseType: !42, size: 320, align: 64) !42 = !DICompositeType(tag: DW_TAG_array_type, baseType: !36, size: 320, align: 64, elements: !43) !43 = !{!44} !44 = !DISubrange(count: 5, lowerBound: -91) !45 = !DIDerivedType(tag: DW_TAG_member, name: "features", scope: !23, baseType: !39, size: 320, align: 64, offset: 64) !46 = !DIDerivedType(tag: DW_TAG_member, name: "arch", scope: !23, baseType: !21, size: 8, align: 8, offset: 384) !47 = !DIBasicType(name: "u6", size: 8, encoding: DW_ATE_unsigned) !48 = !{!49, !50, !51, !52, !53, !54, !55, !56, !57, !58, !59, !60, !61, !62, !63, !64, !65, !66, !67, !68, !69, !70, !71, !72, !73, !74, !75, !76, !77, !78, !79, !80, !81, !82, !83, !84, !85, !86, !87, !88, !89, !90, !91, !92, !93, !94, !95, !96, !97, !98, !99, !100, !101, !102, !103, !104, !105, !106, !107, !108, !109} !49 = !DIEnumerator(name: "arm", value: 0, isUnsigned: true) !50 = !DIEnumerator(name: "armeb", value: 1, isUnsigned: true) !51 = !DIEnumerator(name: "aarch64", value: 2, isUnsigned: true) !52 = !DIEnumerator(name: "aarch64_be", value: 3, isUnsigned: true) !53 = !DIEnumerator(name: "aarch64_32", value: 4, isUnsigned: true) !54 = !DIEnumerator(name: "arc", value: 5, isUnsigned: true) !55 = !DIEnumerator(name: "avr", value: 6, isUnsigned: true) !56 = !DIEnumerator(name: "bpfel", value: 7, isUnsigned: true) !57 = !DIEnumerator(name: "bpfeb", value: 8, isUnsigned: true) !58 = !DIEnumerator(name: "csky", value: 9, isUnsigned: true) !59 = !DIEnumerator(name: "dxil", value: 10, isUnsigned: true) !60 = !DIEnumerator(name: "hexagon", value: 11, isUnsigned: true) !61 = !DIEnumerator(name: "loongarch32", value: 12, isUnsigned: true) !62 = !DIEnumerator(name: "loongarch64", value: 13, isUnsigned: true) !63 = !DIEnumerator(name: "m68k", value: 14, isUnsigned: true) !64 = !DIEnumerator(name: "mips", value: 15, isUnsigned: true) !65 = !DIEnumerator(name: "mipsel", value: 16, isUnsigned: true) !66 = !DIEnumerator(name: "mips64", value: 17, isUnsigned: true) !67 = !DIEnumerator(name: "mips64el", value: 18, isUnsigned: true) !68 = !DIEnumerator(name: "msp430", value: 19, isUnsigned: true) !69 = !DIEnumerator(name: "powerpc", value: 20, isUnsigned: true) !70 = !DIEnumerator(name: "powerpcle", value: 21, isUnsigned: true) !71 = !DIEnumerator(name: "powerpc64", value: 22, isUnsigned: true) !72 = !DIEnumerator(name: "powerpc64le", value: 23, isUnsigned: true) !73 = !DIEnumerator(name: "r600", value: 24, isUnsigned: true) !74 = !DIEnumerator(name: "amdgcn", value: 25, isUnsigned: true) !75 = !DIEnumerator(name: "riscv32", value: 26, isUnsigned: true) !76 = !DIEnumerator(name: "riscv64", value: 27, isUnsigned: true) !77 = !DIEnumerator(name: "sparc", value: 28, isUnsigned: true) !78 = !DIEnumerator(name: "sparc64", value: 29, isUnsigned: true) !79 = !DIEnumerator(name: "sparcel", value: 30, isUnsigned: true) !80 = !DIEnumerator(name: "s390x", value: 31, isUnsigned: true) !81 = !DIEnumerator(name: "tce", value: 32, isUnsigned: true) !82 = !DIEnumerator(name: "tcele", value: 33, isUnsigned: true) !83 = !DIEnumerator(name: "thumb", value: 34, isUnsigned: true) !84 = !DIEnumerator(name: "thumbeb", value: 35, isUnsigned: true) !85 = !DIEnumerator(name: "x86", value: 36, isUnsigned: true) !86 = !DIEnumerator(name: "x86_64", value: 37, isUnsigned: true) !87 = !DIEnumerator(name: "xcore", value: 38, isUnsigned: true) !88 = !DIEnumerator(name: "xtensa", value: 39, isUnsigned: true) !89 = !DIEnumerator(name: "nvptx", value: 40, isUnsigned: true) !90 = !DIEnumerator(name: "nvptx64", value: 41, isUnsigned: true) !91 = !DIEnumerator(name: "le32", value: 42, isUnsigned: true) !92 = !DIEnumerator(name: "le64", value: 43, isUnsigned: true) !93 = !DIEnumerator(name: "amdil", value: 44, isUnsigned: true) !94 = !DIEnumerator(name: "amdil64", value: 45, isUnsigned: true) !95 = !DIEnumerator(name: "hsail", value: 46, isUnsigned: true) !96 = !DIEnumerator(name: "hsail64", value: 47, isUnsigned: true) !97 = !DIEnumerator(name: "spir", value: 48, isUnsigned: true) !98 = !DIEnumerator(name: "spir64", value: 49, isUnsigned: true) !99 = !DIEnumerator(name: "spirv32", value: 50, isUnsigned: true) !100 = !DIEnumerator(name: "spirv64", value: 51, isUnsigned: true) !101 = !DIEnumerator(name: "kalimba", value: 52, isUnsigned: true) !102 = !DIEnumerator(name: "shave", value: 53, isUnsigned: true) !103 = !DIEnumerator(name: "lanai", value: 54, isUnsigned: true) !104 = !DIEnumerator(name: "wasm32", value: 55, isUnsigned: true) !105 = !DIEnumerator(name: "wasm64", value: 56, isUnsigned: true) !106 = !DIEnumerator(name: "renderscript32", value: 57, isUnsigned: true) !107 = !DIEnumerator(name: "renderscript64", value: 58, isUnsigned: true) !108 = !DIEnumerator(name: "ve", value: 59, isUnsigned: true) !109 = !DIEnumerator(name: "spu_2", value: 60, isUnsigned: true) !110 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "builtin.OutputMode", scope: !6, file: !6, line: 645, baseType: !111, size: 8, align: 8, elements: !112) !111 = !DIBasicType(name: "u2", size: 8, encoding: DW_ATE_unsigned) !112 = !{!113, !114, !115} !113 = !DIEnumerator(name: "Exe", value: 0, isUnsigned: true) !114 = !DIEnumerator(name: "Lib", value: 1, isUnsigned: true) !115 = !DIEnumerator(name: "Obj", value: 2, isUnsigned: true) !116 = !{!117, !120, !122, !125, !127, !131, !133, !139} !117 = !DIGlobalVariableExpression(var: !118, expr: !DIExpression()) !118 = distinct !DIGlobalVariable(name: "zig_backend", linkageName: "builtin.zig_backend", scope: !119, file: !119, line: 6, type: !5, isLocal: true, isDefinition: true) !119 = !DIFile(filename: "builtin.zig", directory: "/app/.cache/zig/b/7c6f5885cf1a9fea79ba46178f0b7647") !120 = !DIGlobalVariableExpression(var: !121, expr: !DIExpression()) !121 = distinct !DIGlobalVariable(name: "empty", linkageName: "Target.Cpu.Feature.Set.empty", scope: !22, file: !22, line: 824, type: !39, isLocal: true, isDefinition: true) !122 = !DIGlobalVariableExpression(var: !123, expr: !DIExpression()) !123 = distinct !DIGlobalVariable(name: "sifive_x280", linkageName: "Target.riscv.cpu.sifive_x280", scope: !124, file: !124, line: 1298, type: !27, isLocal: true, isDefinition: true) !124 = !DIFile(filename: "riscv.zig", directory: "/opt/compiler-explorer/zig-0.12.0/lib/std/Target") !125 = !DIGlobalVariableExpression(var: !126, expr: !DIExpression()) !126 = distinct !DIGlobalVariable(name: "cpu", linkageName: "builtin.cpu", scope: !119, file: !119, line: 13, type: !23, isLocal: true, isDefinition: true) !127 = !DIGlobalVariableExpression(var: !128, expr: !DIExpression()) !128 = distinct !DIGlobalVariable(name: "simplified_logic", linkageName: "start.simplified_logic", scope: !129, file: !129, line: 19, type: !130, isLocal: true, isDefinition: true) !129 = !DIFile(filename: "start.zig", directory: "/opt/compiler-explorer/zig-0.12.0/lib/std") !130 = !DIBasicType(name: "bool", size: 8, encoding: DW_ATE_boolean) !131 = !DIGlobalVariableExpression(var: !132, expr: !DIExpression()) !132 = distinct !DIGlobalVariable(name: "output_mode", linkageName: "builtin.output_mode", scope: !119, file: !119, line: 8, type: !110, isLocal: true, isDefinition: true) !133 = !DIGlobalVariableExpression(var: !134, expr: !DIExpression()) !134 = distinct !DIGlobalVariable(name: "cast_truncated_data", linkageName: "builtin.panic_messages.cast_truncated_data", scope: !6, file: !6, line: 887, type: !135, isLocal: true, isDefinition: true) !135 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "*[27:0]u8", baseType: !136, size: 64, align: 8) !136 = !DICompositeType(tag: DW_TAG_array_type, baseType: !34, size: 224, align: 8, elements: !137) !137 = !{!138} !138 = !DISubrange(count: 27, lowerBound: -91) !139 = !DIGlobalVariableExpression(var: !140, expr: !DIExpression()) !140 = distinct !DIGlobalVariable(name: "noreturn_returned", linkageName: "builtin.panic_messages.noreturn_returned", scope: !6, file: !6, line: 906, type: !141, isLocal: true, isDefinition: true) !141 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "*[28:0]u8", baseType: !142, size: 64, align: 8) !142 = !DICompositeType(tag: DW_TAG_array_type, baseType: !34, size: 232, align: 8, elements: !143) !143 = !{!144} !144 = !DISubrange(count: 28, lowerBound: -91) !145 = distinct !DISubprogram(name: "bar", linkageName: "example.bar", scope: !146, file: !146, line: 1, type: !147, scopeLine: 1, flags: DIFlagStaticMember, spFlags: DISPFlagDefinition, unit: !2) !146 = !DIFile(filename: "example.zig", directory: "") !147 = !DISubroutineType(types: !148) !148 = !{!7, !7} !149 = !DILocation(line: 1, column: 27, scope: !145) !150 = !DILocalVariable(name: "y", arg: 1, scope: !145, file: !146, line: 1, type: !7) !151 = !DILocation(line: 2, column: 9, scope: !152) !152 = !DILexicalBlock(scope: !145, file: !146, line: 2, column: 9) !153 = !DILocation(line: 3, column: 5, scope: !145) !154 = !DILocation(line: 3, column: 27, scope: !145) !155 = !DILocation(line: 3, column: 27, scope: !156) !156 = !DILexicalBlock(scope: !145, file: !146, line: 3, column: 27) !157 = !DILocation(line: 2, column: 17, scope: !158) !158 = !DILexicalBlock(scope: !152, file: !146, line: 2, column: 9) !159 = !DILocation(line: 2, column: 17, scope: !160) !160 = !DILexicalBlock(scope: !152, file: !146, line: 2, column: 17) !161 = !DILocation(line: 3, column: 24, scope: !145) !162 = !DILocation(line: 3, column: 27, scope: !163) !163 = !DILexicalBlock(scope: !156, file: !146, line: 3, column: 27) !164 = distinct !DISubprogram(name: "panic", linkageName: "example.panic", scope: !146, file: !146, line: 6, type: !165, scopeLine: 6, flags: DIFlagStaticMember | DIFlagNoReturn, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition, unit: !2) !165 = !DISubroutineType(types: !166) !166 = !{!167, !30, !168, !178} !167 = !DIBasicType(name: "void", encoding: DW_ATE_signed) !168 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "*builtin.StackTrace", baseType: !169, size: 64, align: 64) !169 = !DICompositeType(tag: DW_TAG_structure_type, name: "builtin.StackTrace", scope: !2, size: 192, align: 64, elements: !170) !170 = !{!171, !172} !171 = !DIDerivedType(tag: DW_TAG_member, name: "index", scope: !169, baseType: !36, size: 64, align: 64) !172 = !DIDerivedType(tag: DW_TAG_member, name: "instruction_addresses", scope: !169, baseType: !173, size: 128, align: 64, offset: 64) !173 = !DICompositeType(tag: DW_TAG_structure_type, name: "[]usize", scope: !2, size: 128, align: 64, elements: !174) !174 = !{!175, !177} !175 = !DIDerivedType(tag: DW_TAG_member, name: "ptr", scope: !173, baseType: !176, size: 64, align: 64) !176 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "*usize", baseType: !36, size: 64, align: 64) !177 = !DIDerivedType(tag: DW_TAG_member, name: "len", scope: !173, baseType: !36, size: 64, align: 64, offset: 64) !178 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "*?usize", baseType: !179, size: 64, align: 64) !179 = !DICompositeType(tag: DW_TAG_structure_type, name: "?usize", scope: !2, size: 128, align: 64, elements: !180) !180 = !{!181, !182} !181 = !DIDerivedType(tag: DW_TAG_member, name: "data", scope: !179, baseType: !36, size: 64, align: 64) !182 = !DIDerivedType(tag: DW_TAG_member, name: "some", scope: !179, baseType: !34, size: 8, align: 8, offset: 64) !183 = !DILocation(line: 6, column: 115, scope: !164) !184 = !DILocalVariable(name: "msg", arg: 1, scope: !164, file: !146, line: 6, type: !30) !185 = !DILocalVariable(name: "error_return_trace", arg: 2, scope: !164, file: !146, line: 6, type: !168) !186 = !DILocalVariable(name: "ret_addr", arg: 3, scope: !164, file: !146, line: 6, type: !179) !187 = !DILocation(line: 10, column: 14, scope: !164)
Become a Patron
Sponsor on GitHub
Donate via PayPal
Source on GitHub
Mailing list
Installed libraries
Wiki
Report an issue
How it works
Contact the author
CE on Mastodon
About the author
Statistics
Changelog
Version tree