[ORC] Rename ThreadSafeModule::takingModuleDo to consumingModuleDo.
authorLang Hames <lhames@gmail.com>
Tue, 3 Jan 2023 01:48:55 +0000 (17:48 -0800)
committerLang Hames <lhames@gmail.com>
Tue, 3 Jan 2023 01:48:55 +0000 (17:48 -0800)
commitae331245b730a2c91ecc227c4cb1198d2b3ad94e
treec9d0695b7d58ddcc6419b56306955186c099a8f0
parent0bf85d7d8129339ac66ac8d94a7a4d636508fe1a
[ORC] Rename ThreadSafeModule::takingModuleDo to consumingModuleDo.

Renamed to emphasize intent: this method allows the module to be consumed by the
callback (while protected by the context lock), but we don't want to imply that
the Module could be taken out of the ThreadSafeModule (where it would no longer
be protected by that lock).
llvm/include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h
llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp