[x86/Linux] Disables FrameHandlerExRecordWithBarrier for non-Windows platforms#8374
[x86/Linux] Disables FrameHandlerExRecordWithBarrier for non-Windows platforms#8374parjong wants to merge 1 commit into
Conversation
|
\CC @seanshpark |
|
@parjong I think that after we've decided to stop attempts to enable Unix AMD64 / ARM style exception handling (WIN64EXCEPTIONS symbol related stuff) at the moment, we should do this differently. |
|
@janvorli Thanks you for comment. Then, should we port |
|
@parjong Yes, it seems like that would be a way of the least resistance. The structure is very simple: typedef struct _EXCEPTION_REGISTRATION_RECORD {
struct _EXCEPTION_REGISTRATION_RECORD *Next;
PEXCEPTION_ROUTINE Handler;
} EXCEPTION_REGISTRATION_RECORD; |
|
We should put it to palrt.h close to the _DISPATCHER_CONTEXT - the PEXCEPTION_ROUTINE is defined there too. |
|
I'll close this PR as #8409 also resolves this issue. |
Currently, FrameHandlerExRecord is available only for Windows platform.
This commit disables FrameHandlerExRecordWithBarrier (which depends on FrameHandlerExRecord) for non-Windows platforms.