summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Host.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/Host.h')
-rw-r--r--include/llvm/Support/Host.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Support/Host.h b/include/llvm/Support/Host.h
index ceb44ce6f3..83ea87bf74 100644
--- a/include/llvm/Support/Host.h
+++ b/include/llvm/Support/Host.h
@@ -79,6 +79,14 @@ namespace sys {
/// to generate by default code with a given hash-style and false otherwise.
bool hasDefaultTargetHashStyle();
+ /// getDefaultTargetAbi() - Return the default target ABI for which the
+ /// compiler is configured to generate code for, or "" if empty.
+ std::string getDefaultTargetAbi();
+
+ /// hasDefaultTargetAbi() - Return true if the compiler was configured to
+ /// generate code for a given ABI and false otherwise.
+ bool hasDefaultTargetAbi();
+
/// getProcessTriple() - Return an appropriate target triple for generating
/// code to be loaded into the current process, e.g. when using the JIT.
std::string getProcessTriple();