We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28d596c commit f7d1510Copy full SHA for f7d1510
llvm/include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h
@@ -126,6 +126,9 @@ class ThreadSafeModule {
126
/// Get the module wrapped by this ThreadSafeModule.
127
Module* getModule() { return M.get(); }
128
129
+ /// Get the module wrapped by this ThreadSafeModule.
130
+ const Module* getModule() const { return M.get(); }
131
+
132
/// Take out a lock on the ThreadSafeContext for this module.
133
ThreadSafeContext::Lock getContextLock() { return TSCtx.getLock(); }
134
0 commit comments