Closed
Bug 1022050
Opened 10 years ago
Closed 10 years ago
Disable the SEH block used in TestPoisonArea.cpp on clang-cl until it grows SEH support
Categories
(Core :: MFBT, defect)
Core
MFBT
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
712 bytes,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8436195 -
Flags: review?(nfroyd)
Comment 2•10 years ago
|
||
Comment on attachment 8436195 [details] [diff] [review] Disable the SEH block used in TestPoisonArea.cpp on clang-cl until it grows SEH support This should be #if defined(_MSC_VER) && !(defined(_HAS_EXCEPTIONS) && _HAS_EXCEPTIONS == 0) That matches what standard library does and will automatically enable itself once clang gets support for exceptions
Attachment #8436195 -
Flags: review?(nfroyd) → review-
Comment 3•10 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #2) > Comment on attachment 8436195 [details] [diff] [review] > Disable the SEH block used in TestPoisonArea.cpp on clang-cl until it grows > SEH support > > This should be > #if defined(_MSC_VER) && !(defined(_HAS_EXCEPTIONS) && _HAS_EXCEPTIONS == 0) > > That matches what standard library does and will automatically enable itself > once clang gets support for exceptions Except we explicitly set _HAS_EXCEPTIONS=0, so it would never enable itself, and would in fact also be disabled in msvc.
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8436195 [details] [diff] [review] Disable the SEH block used in TestPoisonArea.cpp on clang-cl until it grows SEH support glandium is right. Jeff, my plan is to periodically look at the __clang__ occurrences in the tree and take care of them.
Attachment #8436195 -
Flags: review- → review?(nfroyd)
Comment 5•10 years ago
|
||
Comment on attachment 8436195 [details] [diff] [review] Disable the SEH block used in TestPoisonArea.cpp on clang-cl until it grows SEH support Review of attachment 8436195 [details] [diff] [review]: ----------------------------------------------------------------- ::: mfbt/tests/TestPoisonArea.cpp @@ +406,5 @@ > } __except (EXCEPTION_EXECUTE_HANDLER) { > ret = true; > } > #else > printf("INFO | exec test not supported on MinGW build\n"); Can you modify this, too?
Attachment #8436195 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a0b0886c3ed1
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a0b0886c3ed1
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in
before you can comment on or make changes to this bug.
Description
•