Configuration data now supports a vector of library paths.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 23 Nov 2004 23:40:06 +0000 (23:40 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 23 Nov 2004 23:40:06 +0000 (23:40 +0000)
Add the GetPathForLinkageItem method to the interface so full paths can
be generated for a given linkage item.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18187 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvmc/CompilerDriver.h

index 62e53e2702ca46f427de26c8f06ee5d8566193d0..b748e772c875f8d66640c6e126233636ab179d58 100644 (file)
@@ -94,6 +94,7 @@ namespace llvm {
         std::string version;    ///< The version number.
         std::string langName;   ///< The name of the source language 
         StringTable opts;       ///< The o10n options for each level
         std::string version;    ///< The version number.
         std::string langName;   ///< The name of the source language 
         StringTable opts;       ///< The o10n options for each level
+        StringVector libpaths;  ///< The library paths
         Action PreProcessor;    ///< PreProcessor command line
         Action Translator;      ///< Translator command line
         Action Optimizer;       ///< Optimizer command line
         Action PreProcessor;    ///< PreProcessor command line
         Action Translator;      ///< Translator command line
         Action Optimizer;       ///< Optimizer command line
@@ -188,6 +189,12 @@ namespace llvm {
       /// @brief Set the list of -W options to be passed through
       virtual void setWPassThrough(const StringVector& fOpts) = 0;
 
       /// @brief Set the list of -W options to be passed through
       virtual void setWPassThrough(const StringVector& fOpts) = 0;
 
+      /// @brief Determine where a linkage file is located in the file system
+      virtual sys::Path GetPathForLinkageItem(
+        const std::string& link_item, ///< Item to be sought
+        bool native = false           ///< Looking for native?
+      ) = 0;
+
     /// @}
   };
 }
     /// @}
   };
 }