[llvm] [DOCS] ORCv2.rst Typo (PR #89481)
Isaac David via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 19 19:18:29 PDT 2024
https://github.com/orion160 created https://github.com/llvm/llvm-project/pull/89481
None
>From 4d97055dcf319f042253eafe6498a185e00b7126 Mon Sep 17 00:00:00 2001
From: Isaac David <61389980+orion160 at users.noreply.github.com>
Date: Fri, 19 Apr 2024 21:17:39 -0500
Subject: [PATCH] [DOCS] ORCv2.rst Typo
---
llvm/docs/ORCv2.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/docs/ORCv2.rst b/llvm/docs/ORCv2.rst
index 910ef5b9f3d02f..333977a0aaa664 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