diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h index 15f0441d1dc..e5a3c76458b 100644 --- a/include/llvm/Support/PathV1.h +++ b/include/llvm/Support/PathV1.h @@ -113,14 +113,6 @@ namespace sys { /// @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 - /// between processes. - /// @returns The dynamic link library suffix for the current platform. - /// @brief Return the dynamic link library suffix. - static StringRef GetDLLSuffix(); - /// GetMainExecutable - Return the path to the main executable, given the /// value of argv[0] from program startup and the address of main itself. /// In extremis, this function may fail and return an empty path. diff --git a/lib/Support/Path.cpp b/lib/Support/Path.cpp index 09d2eadd51a..2e8223b6a17 100644 --- a/lib/Support/Path.cpp +++ b/lib/Support/Path.cpp @@ -68,10 +68,6 @@ Path::isObjectFile() const { return true; } -StringRef Path::GetDLLSuffix() { - return &(LTDL_SHLIB_EXT[1]); -} - void Path::appendSuffix(StringRef suffix) { if (!suffix.empty()) {