Remove GetDLLSuffix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183777 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2013-06-11 19:18:05 +00:00
parent 6cbae01606
commit 189c27e871
2 changed files with 0 additions and 12 deletions

View File

@ -113,14 +113,6 @@ namespace sys {
/// @brief Return the executable file suffix. /// @brief Return the executable file suffix.
static StringRef GetEXESuffix(); 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 /// GetMainExecutable - Return the path to the main executable, given the
/// value of argv[0] from program startup and the address of main itself. /// value of argv[0] from program startup and the address of main itself.
/// In extremis, this function may fail and return an empty path. /// In extremis, this function may fail and return an empty path.

View File

@ -68,10 +68,6 @@ Path::isObjectFile() const {
return true; return true;
} }
StringRef Path::GetDLLSuffix() {
return &(LTDL_SHLIB_EXT[1]);
}
void void
Path::appendSuffix(StringRef suffix) { Path::appendSuffix(StringRef suffix) {
if (!suffix.empty()) { if (!suffix.empty()) {