[llvm] [Object] Add a missing space to a diagnostic (PR #159826)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 19 11:07:18 PDT 2025
https://github.com/nico created https://github.com/llvm/llvm-project/pull/159826
None
>From 025d4f35c47dd0d4722abc6877d23ce20ffb80bb Mon Sep 17 00:00:00 2001
From: Nico Weber <thakis at chromium.org>
Date: Fri, 19 Sep 2025 14:06:57 -0400
Subject: [PATCH] [Object] Add a missing space to a diagnostic
---
llvm/lib/Object/Archive.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/Object/Archive.cpp b/llvm/lib/Object/Archive.cpp
index 753f805824cea..861c284253f7a 100644
--- a/llvm/lib/Object/Archive.cpp
+++ b/llvm/lib/Object/Archive.cpp
@@ -307,7 +307,7 @@ Expected<StringRef> ArchiveMemberHeader::getName(uint64_t Size) const {
if (End == StringRef::npos || End < 1 ||
Parent->getStringTable()[End - 1] != '/') {
return malformedError("string table at long name offset " +
- Twine(StringOffset) + "not terminated");
+ Twine(StringOffset) + " not terminated");
}
return Parent->getStringTable().slice(StringOffset, End - 1);
}
More information about the llvm-commits
mailing list