summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2010-08-30 14:00:29 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2010-08-30 14:00:29 +0000
commit9c0e59de64de9f6d52eac8b4701baafc7034aaf7 (patch)
tree37f66480ad42eb91605d962f8b83e943f3e9a963 /clang/lib
parent8199447851be0eab5c020589e7d49184b743d2ab (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud