summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc
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
commit5e1e6b9f8293ae7e743339faffdbeebdd4477f42 (patch)
tree949295c8257a99988656a2d549cf63afb3060642 /llvm/tools/llvmc
parentfe6dd9da551826e41f4f3b47159c79f28d79540d (diff)
downloadbcm5719-llvm-5e1e6b9f8293ae7e743339faffdbeebdd4477f42.tar.gz
bcm5719-llvm-5e1e6b9f8293ae7e743339faffdbeebdd4477f42.zip
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. llvm-svn: 18187
Diffstat (limited to 'llvm/tools/llvmc')
-rw-r--r--llvm/tools/llvmc/CompilerDriver.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/tools/llvmc/CompilerDriver.h b/llvm/tools/llvmc/CompilerDriver.h
index 62e53e2702c..b748e772c87 100644
--- a/llvm/tools/llvmc/CompilerDriver.h
+++ b/llvm/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;
+
/// @}
};
}
OpenPOWER on IntegriCloud