aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/System
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/System')
-rw-r--r--include/llvm/System/Path.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h
index ef7c087bb7..c13f2e8d6c 100644
--- a/include/llvm/System/Path.h
+++ b/include/llvm/System/Path.h
@@ -154,6 +154,12 @@ namespace sys {
/// @brief Returns the current working directory.
static Path GetCurrentDirectory();
+ /// Return the suffix commonly used on file names that contain an
+ /// executable.
+ /// @returns The executable file suffix for the current platform.
+ /// @brief Return the executable file suffix.
+ static StringRef GetEXESuffix();
+
/// Return the suffix commonly used on file names that contain a shared
/// object, shared archive, or dynamic link library. Such files are
/// linked at runtime into a process and their code images are shared