blob: b69184dbaaa4ae356584da2ac45fb16f8aa2871a [file] [edit]
.text
.file "zero-struct-2.c"
.section .text.one_raw_spinlock,"ax",@progbits
.hidden one_raw_spinlock # -- Begin function one_raw_spinlock
.globl one_raw_spinlock
.type one_raw_spinlock,@function
one_raw_spinlock: # @one_raw_spinlock
# BB#0: # %entry
i32.const $push0=, 0
i32.const $push4=, 0
i32.load $push1=, ii($pop4)
i32.const $push2=, 1
i32.add $push3=, $pop1, $pop2
i32.store ii($pop0), $pop3
# fallthrough-return
.endfunc
.Lfunc_end0:
.size one_raw_spinlock, .Lfunc_end0-one_raw_spinlock
# -- End function
.section .text.main,"ax",@progbits
.hidden main # -- Begin function main
.globl main
.type main,@function
main: # @main
.result i32
.local i32
# BB#0: # %entry
i32.const $push5=, 0
i32.const $push4=, 0
i32.load $push3=, ii($pop4)
tee_local $push2=, $0=, $pop3
i32.const $push0=, 1
i32.add $push1=, $pop2, $pop0
i32.store ii($pop5), $pop1
block
br_if 0, $0 # 0: down to label0
# BB#1: # %if.end
i32.const $push6=, 0
return $pop6
.LBB1_2: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
# -- End function
.hidden ii # @ii
.type ii,@object
.section .bss.ii,"aw",@nobits
.globl ii
.p2align 2
ii:
.int32 0 # 0x0
.size ii, 4
.ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
.functype abort, void