Fix a comment.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 30 Aug 2010 21:54:03 +0000 (21:54 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 30 Aug 2010 21:54:03 +0000 (21:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112535 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/JIT/Intercept.cpp

index c8872e433f3ce39c97575c14a1931a6bf5c30f0b..274f816f39e119fd5becf308de3e468256402e96 100644 (file)
@@ -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)).