Driver: Add some HostInfo accessors.

llvm-svn: 66806
This commit is contained in:
Daniel Dunbar 2009-03-12 18:20:49 +00:00
parent 7c8d653a2c
commit d5f7d2509b
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,10 @@ protected:
public:
virtual ~HostInfo();
const std::string &getArchName() const { return Arch; }
const std::string &getPlatformName() const { return Platform; }
const std::string &getOSName() const { return OS; }
/// useDriverDriver - Whether the driver should act as a driver
/// driver for this host and support -arch, -Xarch, etc.
virtual bool useDriverDriver() const = 0;