[llvm-commits] [PATCH] PR3897: suppress invoking __main() from JIT on Cygwin and Mingw

NAKAMURA Takumi geek4civic at gmail.com
Mon Aug 30 07:12:07 PDT 2010


committed as r112474.

2010/8/30 Anton Korobeynikov <anton at korobeynikov.info>:
>> EE/JIT: We don't want to invoke parent's ctors/dtors from main(), to fix PR3897.
> Who and how will run them then?

I told to Anton, on the IRC.
We already have ExecutionEngine::runStaticConstructorsDestructors()
to invoke ctors/dtors in bitcodes.

__main did not invoke bitcode's ctors but parent's(callee context) ctors.


...Takumi



More information about the llvm-commits mailing list