aboutsummaryrefslogtreecommitdiff
path: root/lld/Common/Strings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/Common/Strings.cpp')
-rw-r--r--lld/Common/Strings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/Common/Strings.cpp b/lld/Common/Strings.cpp
index db22c06eb17e..41cbbf36f38c 100644
--- a/lld/Common/Strings.cpp
+++ b/lld/Common/Strings.cpp
@@ -27,7 +27,7 @@ SingleStringMatcher::SingleStringMatcher(StringRef Pattern) {
} else {
Expected<GlobPattern> Glob = GlobPattern::create(Pattern);
if (!Glob) {
- error(toString(Glob.takeError()));
+ error(toString(Glob.takeError()) + ": " + Pattern);
return;
}
ExactMatch = false;