ruiu added a comment. It is guaranteed by the language spec (and by the fact that they are allocated to the .bss section) that global variables are initialized to zeros, no? Repository: rL LLVM https://reviews.llvm.org/D22935