diff options
Diffstat (limited to 'lib/Support')
-rw-r--r-- | lib/Support/Unix/Host.inc | 8 | ||||
-rw-r--r-- | lib/Support/Windows/Host.inc | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/lib/Support/Unix/Host.inc b/lib/Support/Unix/Host.inc index 028a0c78d7..5b55b4f0e9 100644 --- a/lib/Support/Unix/Host.inc +++ b/lib/Support/Unix/Host.inc @@ -85,3 +85,11 @@ std::string sys::getDefaultTargetFpu() { bool sys::hasDefaultTargetFpu() { return getDefaultTargetFpu() != ""; } + +std::string sys::getDefaultTargetHashStyle() { + return LLVM_DEFAULT_TARGET_HASHSTYLE; +} + +bool sys::hasDefaultTargetHashStyle() { + return getDefaultTargetHashStyle() != ""; +} diff --git a/lib/Support/Windows/Host.inc b/lib/Support/Windows/Host.inc index 606e95707d..e48021ef6d 100644 --- a/lib/Support/Windows/Host.inc +++ b/lib/Support/Windows/Host.inc @@ -44,3 +44,11 @@ std::string sys::getDefaultTargetFpu() { bool sys::hasDefaultTargetFpu() { return getDefaultTargetFpu() != ""; } + +std::string sys::getDefaultTargetHashStyle() { + return LLVM_DEFAULT_TARGET_HASHSTYLE; +} + +bool sys::hasDefaultTargetHashStyle() { + return getDefaultTargetHashStyle() != ""; +} |