Skip to content

Commit

Permalink
[DOCS] ORCv2.rst Typo (#89482)
Browse files Browse the repository at this point in the history
  • Loading branch information
orion160 committed May 19, 2024
1 parent 643f361 commit c34079c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/docs/ORCv2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ constructs a new ThreadSafeContext value from a std::unique_ptr<LLVMContext>:
// separate context.
for (const auto &IRPath : IRPaths) {
auto Ctx = std::make_unique<LLVMContext>();
auto M = std::make_unique<LLVMContext>("M", *Ctx);
auto M = std::make_unique<Module>("M", *Ctx);
CompileLayer.add(MainJD, ThreadSafeModule(std::move(M), std::move(Ctx)));
}
Expand Down

0 comments on commit c34079c

Please sign in to comment.