Re: [go-nuts] Simplifying LLVM bitcode from gollvm

2021-09-12 Thread Khanh TN
Hi, Thanks, Than, for the answer. So, if the .go file I'm compiling is the one with "package main" "func main()", I can remove the "module asm" lines without any consequences? Khanh On Friday, September 10, 2021 at 9:09:12 PM UTC+8 th...@google.com wrote: > Hi, > > The "module asm" at the start

Re: [go-nuts] Question on handling Data Race

2021-09-12 Thread Martin Schnabel
hi Michael, from my understanding: if you only call refresh from somefunc and locking the body should be fine. however i strongly advise not to export refresh, otherwise it is a broken api. and someone, someday will call refresh without that lock. if refresh should be part of the accessible a