Skip to content

Commit

Permalink
JIT: Disable EH table on mingw/SEH
Browse files Browse the repository at this point in the history
  • Loading branch information
klutzy committed Aug 14, 2013
1 parent ebe22bd commit 4455390
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ExecutionEngine/JIT/JIT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ extern "C" void LLVMLinkInJIT() {

// Determine whether we can register EH tables.
#if (defined(__GNUC__) && !defined(__ARM_EABI__) && \
!defined(__USING_SJLJ_EXCEPTIONS__))
!defined(__USING_SJLJ_EXCEPTIONS__)) && !defined(__SEH__)
#define HAVE_EHTABLE_SUPPORT 1
#else
#define HAVE_EHTABLE_SUPPORT 0
Expand Down
2 changes: 1 addition & 1 deletion lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ bool SectionMemoryManager::applyPermissions(std::string *ErrMsg)

// Determine whether we can register EH tables.
#if (defined(__GNUC__) && !defined(__ARM_EABI__) && \
!defined(__USING_SJLJ_EXCEPTIONS__))
!defined(__USING_SJLJ_EXCEPTIONS__)) && !defined(__SEH__)
#define HAVE_EHTABLE_SUPPORT 1
#else
#define HAVE_EHTABLE_SUPPORT 0
Expand Down

0 comments on commit 4455390

Please sign in to comment.