[llvm-commits] [PATCH] PR3897: suppress invoking __main() from JIT on Cygwin and Mingw
geek4civic at gmail.com
Mon Aug 30 09:12:07 CDT 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.
More information about the llvm-commits