summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2012-10-02 18:38:34 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2012-10-02 18:38:34 +0000
commit7bbd6e366b39157445cc921024a987e61ea68c00 (patch)
tree102f2dfc142c368fdcd9c077da5bdaeed0e200a9 /include
parenta346f462716b4eb32d27ffe20fc8696473f225f6 (diff)
downloadllvm-7bbd6e366b39157445cc921024a987e61ea68c00.tar.gz
llvm-7bbd6e366b39157445cc921024a987e61ea68c00.tar.bz2
llvm-7bbd6e366b39157445cc921024a987e61ea68c00.tar.xz
Support for generating ELF objects on Windows.
This adds 'elf' as a recognized target triple environment value and overrides the default generated object format on Windows platforms if that value is present. This patch also enables MCJIT tests on Windows using the new environment value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ADT/Triple.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h
index 7ff90552c0..a0527683f6 100644
--- a/include/llvm/ADT/Triple.h
+++ b/include/llvm/ADT/Triple.h
@@ -111,7 +111,8 @@ public:
GNUEABIHF,
EABI,
MachO,
- Android
+ Android,
+ ELF
};
private: