summaryrefslogtreecommitdiff
path: root/lld/Common/Filesystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/Common/Filesystem.cpp')
-rw-r--r--lld/Common/Filesystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/Common/Filesystem.cpp b/lld/Common/Filesystem.cpp
index c3d3f998f03b..75e88dbce1ab 100644
--- a/lld/Common/Filesystem.cpp
+++ b/lld/Common/Filesystem.cpp
@@ -87,7 +87,7 @@ void lld::unlinkAsync(StringRef path) {
// We also don't want to reimplement heuristics to determine if a
// file is writable. So we'll let FileOutputBuffer do the work.
//
-// FileOutputBuffer doesn't touch a desitnation file until commit()
+// FileOutputBuffer doesn't touch a destination file until commit()
// is called. We use that class without calling commit() to predict
// if the given file is writable.
std::error_code lld::tryCreateFile(StringRef path) {