From fe933eb8f67879409661a8123202a1dab1baf68e Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Mon, 30 Aug 2010 21:54:03 +0000 Subject: Fix a comment. llvm-svn: 112535 --- llvm/lib/ExecutionEngine/JIT/Intercept.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/ExecutionEngine') diff --git a/llvm/lib/ExecutionEngine/JIT/Intercept.cpp b/llvm/lib/ExecutionEngine/JIT/Intercept.cpp index c8872e433f3..274f816f39e 100644 --- a/llvm/lib/ExecutionEngine/JIT/Intercept.cpp +++ b/llvm/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)). -- cgit v1.2.3