diff options
| author | Lang Hames <lhames@gmail.com> | 2015-10-21 20:13:41 +0000 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2015-10-21 20:13:41 +0000 |
| commit | ffd4dc21116bea23d8f347ef0478b9ed1042678a (patch) | |
| tree | 5f892da1bde26b382f9b2abb08755f66a134a3be /llvm/include | |
| parent | 27da23464f469baaaf862845be39bc0c60a30a38 (diff) | |
| download | bcm5719-llvm-ffd4dc21116bea23d8f347ef0478b9ed1042678a.tar.gz bcm5719-llvm-ffd4dc21116bea23d8f347ef0478b9ed1042678a.zip | |
[Orc] Clean up a comment.
llvm-svn: 250940
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h b/llvm/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h index 93ba02b3870..a5286ff9add 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h +++ b/llvm/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); |

