New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 692620 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Apr 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 692615



Sign in to add a comment

Allow full debugging symbols in ASan builds

Project Member Reported by och...@chromium.org, Feb 15 2017

Issue description

Occasionally, it may be useful to debug ASan builds of Chrome under GDB.

By default, when is_asan is true, we force -gline-tables-only even when is_debug=true.

We may want to add a new GN flag to control whether if we do -gline-tables-only.
 

Comment 1 by och...@chromium.org, Feb 15 2017

Blocking: 692615

Comment 2 by aarya@google.com, Feb 15 2017

Owner: everestmz@chromium.org
Status: Assigned (was: Available)
We use debug builds for fuzzing as well, so might need some way to turn off symbols for those too explicitly.

Comment 3 by msten...@opera.com, Mar 9 2017

Cc: msten...@opera.com
Any progress here?

My (rejected) attempt at fixing it can be found here: https://codereview.chromium.org/2553043002/

Comment 4 by ta...@google.com, Mar 16 2017

Who should we talk to to make this happen? Thanks!

Comment 5 by aarya@google.com, Mar 16 2017

Just create a patch and find reviewer from owners file.
If you want to talk in general to any dev about developer debugging expertise, talk to thakis@

Comment 7 by msten...@opera.com, Apr 25 2017

ping?

Comment 8 by och...@chromium.org, Apr 25 2017

Cc: everestmz@chromium.org
Owner: och...@chromium.org
I think we should just add a new GN var to turn on full debug symbols when building with sanitizers.

I'll do it.
Project Member

Comment 9 by bugdroid1@chromium.org, Apr 26 2017

Status: Fixed (was: Assigned)
setting `sanitizer_keep_symbols = true` along with either `is_debug = true` or `symbol_level = 2` should now result in full debugging symbols for ASan builds.

Comment 11 by msten...@opera.com, Apr 26 2017

Yay! Thanks!

Comment 12 by msten...@opera.com, Apr 28 2017

Status: Verified (was: Fixed)
Verified that this does indeed work. Thanks again!

Sign in to add a comment