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 643f361 commit c34079cCopy full SHA for c34079c
llvm/docs/ORCv2.rst
@@ -780,7 +780,7 @@ constructs a new ThreadSafeContext value from a std::unique_ptr<LLVMContext>:
780
// separate context.
781
for (const auto &IRPath : IRPaths) {
782
auto Ctx = std::make_unique<LLVMContext>();
783
- auto M = std::make_unique<LLVMContext>("M", *Ctx);
+ auto M = std::make_unique<Module>("M", *Ctx);
784
CompileLayer.add(MainJD, ThreadSafeModule(std::move(M), std::move(Ctx)));
785
}
786
0 commit comments