summaryrefslogtreecommitdiff
path: root/lib/Support/Unix/Host.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Unix/Host.inc')
-rw-r--r--lib/Support/Unix/Host.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Support/Unix/Host.inc b/lib/Support/Unix/Host.inc
index 5b55b4f0e9..28828eb83c 100644
--- a/lib/Support/Unix/Host.inc
+++ b/lib/Support/Unix/Host.inc
@@ -93,3 +93,11 @@ std::string sys::getDefaultTargetHashStyle() {
bool sys::hasDefaultTargetHashStyle() {
return getDefaultTargetHashStyle() != "";
}
+
+std::string sys::getDefaultTargetAbi() {
+ return LLVM_DEFAULT_TARGET_ABI;
+}
+
+bool sys::hasDefaultTargetAbi() {
+ return getDefaultTargetAbi() != "";
+}