From: Lang Hames Date: Wed, 21 Oct 2015 20:13:41 +0000 (+0000) Subject: [Orc] Clean up a comment. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2268dabec51df00b5445e793f5afac2a33ae01a5;p=oota-llvm.git [Orc] Clean up a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250940 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h b/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h index 93ba02b3870..a5286ff9add 100644 --- a/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h +++ b/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h @@ -67,10 +67,10 @@ private: } else return nullptr; case Emitting: - // Calling "emit" can trigger external symbol lookup (e.g. to check for - // pre-existing definitions of common-symbol), but it will never find in - // this module that it would not have found already, so return null from - // here. + // Calling "emit" can trigger a recursive call to 'find' (e.g. to check + // for pre-existing definitions of common-symbol), but any symbol in + // this module would already have been found internally (in the + // RuntimeDyld that did the lookup), so just return a nullptr here. return nullptr; case Emitted: return B.findSymbolIn(Handle, Name, ExportedSymbolsOnly);