Displaying 1 result from an estimated 1 matches for "global3".
Did you mean:
global
2002 Oct 06
0
[LLVMdev] Minor change in LLVM semantics
...dated the linux "llvm-gcc" to work with a new, correct, model for
global variable initialization. This does not change the LLVM api in any
way, but it does change the "meaning" of some programs.
Before, if you compiled the following C code:
int global1;
extern int global2;
int global3 = 0;
You would get LLVM code that looked like this:
%global1 = uninitialized global int
%global2 = uninitialized global int
%global3 = global int 0
This is obviously bad, because there was no way to know whether or not a
variable was uninitialized or external, and there was no difference
between...