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

Issue 2553043002: Don't disable debug symbols when building with sanitizers. (Closed)

Created:
4 years ago by mstensho (USE GERRIT)
Modified:
3 years, 10 months ago
Reviewers:
Oliver Chang, Nico
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't disable debug symbols when building with sanitizers. A -gline-tables-only specified after a -g will override the -g, so that we end up with only line tables. See http://clang.llvm.org/docs/UsersManual.html#controlling-size-of-debug-information "If multiple flags are present, the last one is used."

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -8 lines) Patch
M build/config/sanitizers/BUILD.gn View 1 chunk +9 lines, -8 lines 3 comments Download

Messages

Total messages: 23 (6 generated)
mstensho (USE GERRIT)
4 years ago (2016-12-06 11:34:45 UTC) #4
Nico
https://codereview.chromium.org/2553043002/diff/1/build/config/sanitizers/BUILD.gn File build/config/sanitizers/BUILD.gn (right): https://codereview.chromium.org/2553043002/diff/1/build/config/sanitizers/BUILD.gn#newcode266 build/config/sanitizers/BUILD.gn:266: # are building with full debug symbols. this should ...
4 years ago (2016-12-06 14:34:12 UTC) #7
mstensho (USE GERRIT)
https://codereview.chromium.org/2553043002/diff/1/build/config/sanitizers/BUILD.gn File build/config/sanitizers/BUILD.gn (right): https://codereview.chromium.org/2553043002/diff/1/build/config/sanitizers/BUILD.gn#newcode266 build/config/sanitizers/BUILD.gn:266: # are building with full debug symbols. On 2016/12/06 ...
4 years ago (2016-12-06 16:36:53 UTC) #8
Nico
In which config? Like, the compile doesn't work for me with -g + ubsan On ...
4 years ago (2016-12-06 16:38:00 UTC) #9
mstensho (USE GERRIT)
On 2016/12/06 16:38:00, Nico wrote: > In which config? Like, the compile doesn't work for ...
4 years ago (2016-12-06 16:43:39 UTC) #10
Nico
https://codereview.chromium.org/2553043002/diff/1/build/config/sanitizers/BUILD.gn File build/config/sanitizers/BUILD.gn (right): https://codereview.chromium.org/2553043002/diff/1/build/config/sanitizers/BUILD.gn#newcode266 build/config/sanitizers/BUILD.gn:266: # are building with full debug symbols. On 2016/12/06 ...
4 years ago (2016-12-06 16:47:44 UTC) #11
mstensho (USE GERRIT)
On 2016/12/06 16:47:44, Nico wrote: > https://codereview.chromium.org/2553043002/diff/1/build/config/sanitizers/BUILD.gn > File build/config/sanitizers/BUILD.gn (right): > > https://codereview.chromium.org/2553043002/diff/1/build/config/sanitizers/BUILD.gn#newcode266 > ...
4 years ago (2016-12-06 16:54:59 UTC) #12
Nico
On 2016/12/06 16:54:59, mstensho wrote: > On 2016/12/06 16:47:44, Nico wrote: > > > https://codereview.chromium.org/2553043002/diff/1/build/config/sanitizers/BUILD.gn ...
4 years ago (2016-12-06 17:04:28 UTC) #13
mstensho (USE GERRIT)
On 2016/12/06 17:04:28, Nico wrote: > Do you know where it broke? (gn switch?) I'm ...
4 years ago (2016-12-06 17:12:36 UTC) #14
mstensho (USE GERRIT)
ping?
4 years ago (2016-12-12 19:25:34 UTC) #15
mstensho (USE GERRIT)
ping
3 years, 11 months ago (2017-01-17 13:16:34 UTC) #16
mstensho (USE GERRIT)
3 years, 10 months ago (2017-02-07 11:59:36 UTC) #18
Oliver Chang
sorry, but this CL not lgtm in its current form. ClusterFuzz (and maybe other things) ...
3 years, 10 months ago (2017-02-07 16:43:48 UTC) #19
Oliver Chang
On 2017/02/07 16:43:48, Oliver Chang wrote: > sorry, but this CL not lgtm in its ...
3 years, 10 months ago (2017-02-07 16:44:27 UTC) #20
mstensho (USE GERRIT)
Thanks for the feedback. Comments below. On 2017/02/07 16:43:48, Oliver Chang wrote: > sorry, but ...
3 years, 10 months ago (2017-02-07 19:49:41 UTC) #21
Oliver Chang
Sorry for the delayed reply. On 2017/02/07 19:49:41, mstensho wrote: > Thanks for the feedback. ...
3 years, 10 months ago (2017-02-15 17:57:29 UTC) #22
mstensho (USE GERRIT)
3 years, 10 months ago (2017-02-15 19:03:01 UTC) #23
Thanks! I'll close this CL, then.

Powered by Google App Engine
This is Rietveld 408576698