Skip to content

Commit c34079c

Browse files
authored
[DOCS] ORCv2.rst Typo (#89482)
1 parent 643f361 commit c34079c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/docs/ORCv2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ constructs a new ThreadSafeContext value from a std::unique_ptr<LLVMContext>:
780780
// separate context.
781781
for (const auto &IRPath : IRPaths) {
782782
auto Ctx = std::make_unique<LLVMContext>();
783-
auto M = std::make_unique<LLVMContext>("M", *Ctx);
783+
auto M = std::make_unique<Module>("M", *Ctx);
784784
CompileLayer.add(MainJD, ThreadSafeModule(std::move(M), std::move(Ctx)));
785785
}
786786

0 commit comments

Comments
 (0)