mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-31 09:32:11 +00:00
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112535 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2536279674
commit
17f9bfaa83
@ -108,7 +108,7 @@ void *JIT::getPointerToNamedFunction(const std::string &Name,
|
||||
if (Name == "exit") return (void*)(intptr_t)&jit_exit;
|
||||
if (Name == "atexit") return (void*)(intptr_t)&jit_atexit;
|
||||
|
||||
// We shuold not invoke parent's ctors/dtors from main()! (PR3897)
|
||||
// We should not invoke parent's ctors/dtors from generated main()!
|
||||
// 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)).
|
||||
|
Loading…
Reference in New Issue
Block a user