[llvm-commits] CVS: llvm/tools/llvmc/CompilerDriver.h
Reid Spencer
reid at x10sys.com
Tue Nov 23 15:40:17 PST 2004
Changes in directory llvm/tools/llvmc:
CompilerDriver.h updated: 1.14 -> 1.15
---
Log message:
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.
---
Diffs of the changes: (+7 -0)
Index: llvm/tools/llvmc/CompilerDriver.h
diff -u llvm/tools/llvmc/CompilerDriver.h:1.14 llvm/tools/llvmc/CompilerDriver.h:1.15
--- llvm/tools/llvmc/CompilerDriver.h:1.14 Fri Nov 5 16:15:36 2004
+++ llvm/tools/llvmc/CompilerDriver.h Tue Nov 23 17:40:06 2004
@@ -94,6 +94,7 @@
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 @@
/// @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;
+
/// @}
};
}
More information about the llvm-commits
mailing list