[clang] [llvm] lli: Record the host triple on triple-less modules (PR #216132)

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 04:06:45 PDT 2026


================
@@ -0,0 +1,52 @@
+//===----------- LLJITTest.cpp - Unit tests for LLJIT ---------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/ExecutionEngine/Orc/LLJIT.h"
+#include "OrcTestCommon.h"
+#include "llvm/IR/Module.h"
+#include "llvm/Testing/Support/Error.h"
+#include "gtest/gtest.h"
+
+using namespace llvm;
+using namespace llvm::orc;
+
+namespace {
+
+TEST(LLJITTest, AddModuleWithIncompatibleTripleErrors) {
----------------
lhames wrote:

I think this test is dead once the error above is removed.

https://github.com/llvm/llvm-project/pull/216132


More information about the llvm-commits mailing list