[llvm] f847c2a - [Object] Add a missing space to a diagnostic (#159826)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 20 10:49:44 PDT 2025
Author: Nico Weber
Date: 2025-09-20T13:49:40-04:00
New Revision: f847c2a0facdee0b9792ddb2f8e044705ba50276
URL: https://github.com/llvm/llvm-project/commit/f847c2a0facdee0b9792ddb2f8e044705ba50276
DIFF: https://github.com/llvm/llvm-project/commit/f847c2a0facdee0b9792ddb2f8e044705ba50276.diff
LOG: [Object] Add a missing space to a diagnostic (#159826)
Follow-up to https://reviews.llvm.org/D46527
Added:
Modified:
llvm/lib/Object/Archive.cpp
Removed:
################################################################################
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