[llvm] c34079c - [DOCS] ORCv2.rst Typo (#89482)
via llvm-commits
llvm-commits at lists.llvm.org
Sun May 19 09:39:50 PDT 2024
Author: Isaac David
Date: 2024-05-19T22:09:46+05:30
New Revision: c34079c9455515fd1eb4feaa7613a57e88b7209d
URL: https://github.com/llvm/llvm-project/commit/c34079c9455515fd1eb4feaa7613a57e88b7209d
DIFF: https://github.com/llvm/llvm-project/commit/c34079c9455515fd1eb4feaa7613a57e88b7209d.diff
LOG: [DOCS] ORCv2.rst Typo (#89482)
Added:
Modified:
llvm/docs/ORCv2.rst
Removed:
################################################################################
diff --git a/llvm/docs/ORCv2.rst b/llvm/docs/ORCv2.rst
index 910ef5b9f3d02..333977a0aaa66 100644
--- a/llvm/docs/ORCv2.rst
+++ b/llvm/docs/ORCv2.rst
@@ -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)));
}
More information about the llvm-commits
mailing list