[LLVMdev] global question

John Regehr regehr at cs.utah.edu
Sat Mar 7 11:11:00 PST 2009


> The only problem is that you could have another translation unit, and
> it could be in C++, and it could have a global object with a
> constructor that runs, and that constructor might set the value of x
> to 1.

Thanks.  That is ugly.

John



More information about the llvm-dev mailing list