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

Issue 2607903002: Add use_rtti gn arg to enable rtti globally in the build (Closed)

Created:
3 years, 11 months ago by tsniatowski
Modified:
3 years, 11 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add use_rtti gn arg to enable rtti globally in the build Some sanitizer configs already enabled rtti, move the logic to the arg default value to make experimenting easier. Can be useful when dealing with some asan-instrumented build startup issued that may go away when rtti is enabled globally, but don't fall into the existing enable-rtti cases. One example scenario I had was with a shared_library built with both rtti and exceptions (in a downstream project) causing immediate asan failure on startup around std::exception typeinfo alignment. Rebuilding with rtti enabled globally made things work, so it helps if that's possible with just a gn arg. Note that targets that need rtti to be not disabled regardless of global settings (e.g. third party libraries like icu that need rtti to build) can still remove the //build/config/compiler:no_rtti config and add //build/config/compiler:rtti in its place; this is unchanged. BUG=webrtc:6468 Review-Url: https://codereview.chromium.org/2607903002 Cr-Commit-Position: refs/heads/master@{#442227} Committed: https://chromium.googlesource.com/chromium/src/+/d1a04b008747abf9231b676ad1b34e53bad43973

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M build/config/compiler/BUILD.gn View 2 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
tsniatowski
On 2016/12/29 08:56:18, tsniatowski wrote: > mailto:tsniatowski@opera.com changed reviewers: > + mailto:dpranke@chromium.org PTAL
3 years, 11 months ago (2016-12-29 08:57:09 UTC) #3
Dirk Pranke
Is this replaced by https://codereview.chromium.org/2603183002/ ?
3 years, 11 months ago (2017-01-04 02:56:20 UTC) #4
tsniatowski
On 2017/01/04 02:56:20, Dirk Pranke wrote: > Is this replaced by https://codereview.chromium.org/2603183002/ ? This is ...
3 years, 11 months ago (2017-01-04 07:01:31 UTC) #5
Dirk Pranke
lgtm. Let's land this one instead of kjellander's CL.
3 years, 11 months ago (2017-01-09 06:33:39 UTC) #6
kjellander_chromium
lgtm but it would be if you could clarify that the //build/config/compiler:no_rtti config must be ...
3 years, 11 months ago (2017-01-09 07:11:02 UTC) #9
tsniatowski
On 2017/01/09 07:11:02, kjellander_chromium wrote: > lgtm but it would be if you could clarify ...
3 years, 11 months ago (2017-01-09 08:16:04 UTC) #10
tsniatowski
On 2017/01/09 08:16:04, tsniatowski wrote: > On 2017/01/09 07:11:02, kjellander_chromium wrote: > > lgtm but ...
3 years, 11 months ago (2017-01-09 08:16:41 UTC) #11
kjellander_chromium
On 2017/01/09 08:16:41, tsniatowski wrote: > On 2017/01/09 08:16:04, tsniatowski wrote: > > On 2017/01/09 ...
3 years, 11 months ago (2017-01-09 08:31:07 UTC) #12
tsniatowski
On 2017/01/09 08:31:07, kjellander_chromium wrote: > On 2017/01/09 08:16:41, tsniatowski wrote: > > On 2017/01/09 ...
3 years, 11 months ago (2017-01-09 08:34:24 UTC) #13
tsniatowski
On 2017/01/09 08:34:24, tsniatowski wrote: > On 2017/01/09 08:31:07, kjellander_chromium wrote: > > On 2017/01/09 ...
3 years, 11 months ago (2017-01-09 08:48:28 UTC) #15
kjellander_chromium
On 2017/01/09 08:48:28, tsniatowski wrote: > On 2017/01/09 08:34:24, tsniatowski wrote: > > On 2017/01/09 ...
3 years, 11 months ago (2017-01-09 08:54:43 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2607903002/1
3 years, 11 months ago (2017-01-09 09:14:41 UTC) #18
commit-bot: I haz the power
3 years, 11 months ago (2017-01-09 10:31:46 UTC) #21
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/d1a04b008747abf9231b676ad1b3...

Powered by Google App Engine
This is Rietveld 408576698