[lld] [lld][WebAssembly] add missing space in unmodeled diagnostic (PR #201764)
Hex Wu via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 4 23:51:01 PDT 2026
https://github.com/Spxg created https://github.com/llvm/llvm-project/pull/201764
This is just a nit change, I hit this fatal while trying to use a GC object, and noticed that the diagnostic showed `foo.ofile has unmodeled reference or GC types`
>From de9b35d2e8d05bf092a22787f4b45889e3cb6f9d Mon Sep 17 00:00:00 2001
From: Spxg <unsafe at outlook.es>
Date: Fri, 5 Jun 2026 14:43:47 +0800
Subject: [PATCH] [lld][WebAssembly] add missing space in unmodeled diagnostic
---
lld/wasm/InputFiles.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lld/wasm/InputFiles.cpp b/lld/wasm/InputFiles.cpp
index ad7f207259a5b..179a4264a3cfb 100644
--- a/lld/wasm/InputFiles.cpp
+++ b/lld/wasm/InputFiles.cpp
@@ -91,7 +91,7 @@ InputFile *createObjectFile(MemoryBufferRef mb, StringRef archiveName,
auto *obj = cast<WasmObjectFile>(bin.get());
if (obj->hasUnmodeledTypes())
fatal(toString(mb.getBufferIdentifier()) +
- "file has unmodeled reference or GC types");
+ " file has unmodeled reference or GC types");
if (obj->isSharedObject())
return make<SharedFile>(mb);
return make<ObjFile>(mb, archiveName, lazy);
More information about the llvm-commits
mailing list