[LLVMdev] Fix for non-standard variable length array + Visual C X86 specific code
Morten Ofstad
morten at hue.no
Mon Oct 18 10:22:38 PDT 2004
Reid Spencer wrote:
> It depends on whether the linker can "relink" a set of object files into
> another object file instead of an executable.
Now that I understand better the problem, I have done some research. The
conclusion is that the Visual Studio linker can _not_ do this.
On a side note, I'm not really a big fan of static initializers in
general since you never know which order they are going to be called in.
That means you cannot rely on _anything_ being initialized beyond the
current object, and this can lead to some extremely hard to find bugs...
m.
More information about the llvm-dev
mailing list