diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-08-30 21:54:03 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-08-30 21:54:03 +0000 |
commit | 17f9bfaa838153040d3097ece3f065101a256844 (patch) | |
tree | dbd921f7fb01e75701bac42cd477e19438621fc4 /lib/ExecutionEngine/JIT/Intercept.cpp | |
parent | 253627967454246d347a5038ec971f6738f77f07 (diff) | |
download | external_llvm-17f9bfaa838153040d3097ece3f065101a256844.zip external_llvm-17f9bfaa838153040d3097ece3f065101a256844.tar.gz external_llvm-17f9bfaa838153040d3097ece3f065101a256844.tar.bz2 |
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112535 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT/Intercept.cpp')
-rw-r--r-- | lib/ExecutionEngine/JIT/Intercept.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/JIT/Intercept.cpp b/lib/ExecutionEngine/JIT/Intercept.cpp index c8872e4..274f816 100644 --- a/lib/ExecutionEngine/JIT/Intercept.cpp +++ b/lib/ExecutionEngine/JIT/Intercept.cpp @@ -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)). |