diff options
Diffstat (limited to 'lib/Support/Unix/Host.inc')
-rw-r--r-- | lib/Support/Unix/Host.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Support/Unix/Host.inc b/lib/Support/Unix/Host.inc index d272ac813d..261a495c1b 100644 --- a/lib/Support/Unix/Host.inc +++ b/lib/Support/Unix/Host.inc @@ -69,3 +69,11 @@ std::string sys::getDefaultTargetCpu() { bool sys::hasDefaultTargetCpu() { return getDefaultTargetCpu() != ""; } + +std::string sys::getDefaultTargetFloat() { + return LLVM_DEFAULT_TARGET_FLOAT; +} + +bool sys::hasDefaultTargetFloat() { + return getDefaultTargetFloat() != ""; +} |