Fix the build issue under ia64. Close bug #5715

Thanks to Luca Falavigna for the help and most of the patch.

llvm-svn: 189324
This commit is contained in:
Sylvestre Ledru 2013-08-27 06:49:46 +00:00
parent 322fc8477c
commit fb992ab385
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ extern "C" void LLVMLinkInJIT() {
}
// Determine whether we can register EH tables.
#if (defined(__GNUC__) && !defined(__ARM_EABI__) && \
#if (defined(__GNUC__) && !defined(__ARM_EABI__) && !defined(__ia64__) && \
!defined(__USING_SJLJ_EXCEPTIONS__))
#define HAVE_EHTABLE_SUPPORT 1
#else

View File

@ -33,7 +33,7 @@ namespace llvm {
RTDyldMemoryManager::~RTDyldMemoryManager() {}
// Determine whether we can register EH tables.
#if (defined(__GNUC__) && !defined(__ARM_EABI__) && \
#if (defined(__GNUC__) && !defined(__ARM_EABI__) && !defined(__ia64__) && \
!defined(__USING_SJLJ_EXCEPTIONS__))
#define HAVE_EHTABLE_SUPPORT 1
#else