aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-23 23:40:06 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-23 23:40:06 +0000
commit2d3ee4e2eb3a8d6860b7fbdd8d5b33b67e1c9d74 (patch)
tree6833227f7c8b9a3e524d49c67e617a45926b3343 /tools
parentdc6812d92ddaeddc0044ea979946b37983af9e8d (diff)
downloadexternal_llvm-2d3ee4e2eb3a8d6860b7fbdd8d5b33b67e1c9d74.zip
external_llvm-2d3ee4e2eb3a8d6860b7fbdd8d5b33b67e1c9d74.tar.gz
external_llvm-2d3ee4e2eb3a8d6860b7fbdd8d5b33b67e1c9d74.tar.bz2
Configuration data now supports a vector of library paths.
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
Diffstat (limited to 'tools')
-rw-r--r--tools/llvmc/CompilerDriver.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/llvmc/CompilerDriver.h b/tools/llvmc/CompilerDriver.h
index 62e53e2..b748e77 100644
--- a/tools/llvmc/CompilerDriver.h
+++ b/tools/llvmc/CompilerDriver.h
@@ -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
+ StringVector libpaths; ///< The library paths
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 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;
+
/// @}
};
}