diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-08-30 14:00:29 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-08-30 14:00:29 +0000 |
| commit | 9c0e59de64de9f6d52eac8b4701baafc7034aaf7 (patch) | |
| tree | 37f66480ad42eb91605d962f8b83e943f3e9a963 /clang/lib | |
| parent | 8199447851be0eab5c020589e7d49184b743d2ab (diff) | |
| download | bcm5719-llvm-9c0e59de64de9f6d52eac8b4701baafc7034aaf7.tar.gz bcm5719-llvm-9c0e59de64de9f6d52eac8b4701baafc7034aaf7.zip | |
EE/JIT: Do not invoke parent's ctors/dtors from main()! (PR3897)
On Mingw and Cygwin, the symbol __main is resolved to
callee's(eg. tools/lli) one, to invoke wrong duplicated ctors
(and register wrong callee's dtors with atexit(3)).
We expect, by callee, ExecutionEngine::runStaticConstructorsDestructors()
is called before ExecutionEngine::runFunctionAsMain() is called.
llvm-svn: 112474
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions

