Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1205)

Issue 404853002: Disable exceptions on Windows also in the shared_library build (Closed)

Created:
6 years, 5 months ago by hans
Modified:
6 years, 5 months ago
Reviewers:
Nico, M-A Ruel
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

Disable exceptions on Windows also in the shared_library build They were previously only disabled in static_library builds. This is believed to have been due to problems with old MSVC versions, but it should work now. This change is relevant for Clang, which currently doesn't support exceptions on Windows. Last time I attempted to do this, it broke some tests due to a debug assertion. Gtest had previously been catching the exception, but with exceptions disabled it crashed. Those tests were actually broken in static_library Debug builds too, but we don't seem to have bots for that. After Blink r176189, we no longer hit that debug assertion, so the tests now pass. BUG=82385 TEST=blink_platform_unittests --gtest_filter=DateTimeFormatTest.CommonPattern, content_browsertests --gtest_filter=RenderViewImplTest.SetEditableSelectionAndComposition webkit_unit_tests R=thakis@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284519

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add comments as suggested by thakis #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -12 lines) Patch
M build/common.gypi View 1 3 chunks +4 lines, -12 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
hans
Note to self: Previous attempt was here: https://codereview.chromium.org/287193012 It got reverted due to errors reported ...
6 years, 5 months ago (2014-07-18 17:52:14 UTC) #1
hans
Tryjobs looking good so far. Please take a look.
6 years, 5 months ago (2014-07-18 21:07:16 UTC) #2
Nico
http://src.chromium.org/viewvc/blink/trunk/.gitignore?revision=176189 <- this one?
6 years, 5 months ago (2014-07-18 21:10:38 UTC) #3
hans
On 2014/07/18 21:10:38, Nico (away) wrote: > http://src.chromium.org/viewvc/blink/trunk/.gitignore?revision=176189 <- this > one? No, https://src.chromium.org/viewvc/blink?revision=176189&view=revision
6 years, 5 months ago (2014-07-18 21:12:50 UTC) #4
Nico
I'm not good with computers :-) lgtm https://codereview.chromium.org/404853002/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/404853002/diff/1/build/common.gypi#newcode5143 build/common.gypi:5143: '_HAS_EXCEPTIONS=0', Maybe ...
6 years, 5 months ago (2014-07-18 21:17:17 UTC) #5
Nico
Oh! And can you try patching in https://codereview.chromium.org/404803005/ in third_party/pdfium with this enabled and verify ...
6 years, 5 months ago (2014-07-18 21:20:55 UTC) #6
Nico
I tested the pdfium thing, it works with and without this change. On Jul 18, ...
6 years, 5 months ago (2014-07-18 21:58:45 UTC) #7
hans
On 2014/07/18 21:20:55, Nico (away) wrote: > Oh! And can you try patching in https://codereview.chromium.org/404803005/ ...
6 years, 5 months ago (2014-07-18 22:26:55 UTC) #8
hans
https://codereview.chromium.org/404853002/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/404853002/diff/1/build/common.gypi#newcode5143 build/common.gypi:5143: '_HAS_EXCEPTIONS=0', On 2014/07/18 21:17:17, Nico (away) wrote: > Maybe ...
6 years, 5 months ago (2014-07-18 22:41:52 UTC) #9
hans
The CQ bit was checked by hans@chromium.org
6 years, 5 months ago (2014-07-21 19:41:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hans@chromium.org/404853002/20001
6 years, 5 months ago (2014-07-21 19:42:15 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-21 21:59:29 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-21 22:10:36 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/173172)
6 years, 5 months ago (2014-07-21 22:10:37 UTC) #14
hans
Committed patchset #2 manually as r284519 (presubmit successful).
6 years, 5 months ago (2014-07-21 22:35:53 UTC) #15
Kunihiko Sakamoto
Could this be the culprit of Win7 x64 chrome_elf_unittests failure? http://build.chromium.org/p/chromium.win/builders/Win%207%20Tests%20x64%20%282%29/builds/18370
6 years, 5 months ago (2014-07-22 04:05:12 UTC) #16
Nico
On 2014/07/22 04:05:12, Kunihiko Sakamoto wrote: > Could this be the culprit of Win7 x64 ...
6 years, 5 months ago (2014-07-22 04:17:26 UTC) #17
hans
On 2014/07/22 04:05:12, Kunihiko Sakamoto wrote: > Could this be the culprit of Win7 x64 ...
6 years, 5 months ago (2014-07-22 04:24:20 UTC) #18
Kunihiko Sakamoto
A revert of this CL has been created in https://codereview.chromium.org/410613002/ by ksakamoto@chromium.org. The reason for ...
6 years, 5 months ago (2014-07-22 04:30:01 UTC) #19
Kunihiko Sakamoto
After reverting this CL, the test starts to pass again. http://build.chromium.org/p/chromium.win/builders/Win%207%20Tests%20x64%20(2)
6 years, 5 months ago (2014-07-22 06:39:41 UTC) #20
hans
6 years, 5 months ago (2014-07-22 15:49:51 UTC) #21
Message was sent while issue was closed.
On 2014/07/22 06:39:41, Kunihiko Sakamoto wrote:
> After reverting this CL, the test starts to pass again.
> 
> http://build.chromium.org/p/chromium.win/builders/Win%207%20Tests%20x64%20(2)

Great! Sorry about the breakage, and thanks for reverting.

Powered by Google App Engine
This is Rietveld 408576698