[llvm] r183777 - Remove GetDLLSuffix.

Rafael Espindola rafael.espindola at gmail.com
Tue Jun 11 12:18:05 PDT 2013


Author: rafael
Date: Tue Jun 11 14:18:05 2013
New Revision: 183777

URL: http://llvm.org/viewvc/llvm-project?rev=183777&view=rev
Log:
Remove GetDLLSuffix.

Modified:
    llvm/trunk/include/llvm/Support/PathV1.h
    llvm/trunk/lib/Support/Path.cpp

Modified: llvm/trunk/include/llvm/Support/PathV1.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/PathV1.h?rev=183777&r1=183776&r2=183777&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/PathV1.h (original)
+++ llvm/trunk/include/llvm/Support/PathV1.h Tue Jun 11 14:18:05 2013
@@ -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.

Modified: llvm/trunk/lib/Support/Path.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Path.cpp?rev=183777&r1=183776&r2=183777&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Path.cpp (original)
+++ llvm/trunk/lib/Support/Path.cpp Tue Jun 11 14:18:05 2013
@@ -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()) {





More information about the llvm-commits mailing list