summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Host.h
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-05-05 23:55:59 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-04-13 01:56:54 +0200
commit04852c7374686fe061e589fb028768a539c2920b (patch)
tree26ac74783d38f21e8752e96309ad7f323ca7769f /include/llvm/Support/Host.h
parent3267e75c5ddaadc4a3b6e2ce6808f70959678d22 (diff)
downloadllvm-04852c7374686fe061e589fb028768a539c2920b.tar.gz
llvm-04852c7374686fe061e589fb028768a539c2920b.tar.bz2
llvm-04852c7374686fe061e589fb028768a539c2920b.tar.xz
[Embtk] Give ability to specify default linker hash-style at configure time
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
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 637d8139e7..ceb44ce6f3 100644
--- a/include/llvm/Support/Host.h
+++ b/include/llvm/Support/Host.h
@@ -71,6 +71,14 @@ namespace sys {
/// generate by default code for a given FPU and false otherwise.
bool hasDefaultTargetFpu();
+ /// getDefaultTargetHashStyle() - Return the default target hash-style for
+ /// which the compiler is configured to generated for, or "" if empty.
+ std::string getDefaultTargetHashStyle();
+
+ /// hasDefaultTargetHashStyle() - Return true if the compiler was configured
+ /// to generate by default code with a given hash-style and false otherwise.
+ bool hasDefaultTargetHashStyle();
+
/// 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();