public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/95096] New: Feature request: add -fsplit-dwarf
@ 2020-05-12 23:15 i at maskray dot me
2020-05-12 23:19 ` [Bug debug/95096] " i at maskray dot me
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: i at maskray dot me @ 2020-05-12 23:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95096
Bug ID: 95096
Summary: Feature request: add -fsplit-dwarf
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: i at maskray dot me
Target Milestone: ---
-gsplit-dwarf has an undesired property: it sets the debug info level to 2.
When plugged into a build system, this can enable debug info unnecessarily
(when the user does not specify -g or specifies -g0).
-fsplit-dwarf can enable .dwo, but do not enable debug info by itself.
Its reaction with -g1 may need some thoughts: whether line tables in .dwo will
be beneficial. As a start, we can add the option first, which should be simple
(for a beginner like me:/ )
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/95096] Feature request: add -fsplit-dwarf
2020-05-12 23:15 [Bug debug/95096] New: Feature request: add -fsplit-dwarf i at maskray dot me
@ 2020-05-12 23:19 ` i at maskray dot me
2020-07-29 13:37 ` cvs-commit at gcc dot gnu.org
2020-07-29 13:51 ` rguenth at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: i at maskray dot me @ 2020-05-12 23:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95096
--- Comment #1 from Fangrui Song <i at maskray dot me> ---
Created https://sourceware.org/pipermail/gcc-patches/2020-May/545638.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/95096] Feature request: add -fsplit-dwarf
2020-05-12 23:15 [Bug debug/95096] New: Feature request: add -fsplit-dwarf i at maskray dot me
2020-05-12 23:19 ` [Bug debug/95096] " i at maskray dot me
@ 2020-07-29 13:37 ` cvs-commit at gcc dot gnu.org
2020-07-29 13:51 ` rguenth at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-07-29 13:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95096
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:c8d3f2b6d1d81535ac3b71fd8dd1def12f8d03b3
commit r11-2407-gc8d3f2b6d1d81535ac3b71fd8dd1def12f8d03b3
Author: Fangrui Song <maskray@google.com>
Date: Wed May 13 08:27:29 2020 -0700
Don't make -gsplit-dwarf imply -g
-gsplit-dwarf introduces order dependency: it overrides previous -g0 and
-g1.
Don't imply -g so that it can be plugged into a build without worrying
that unnecessary debugging information may be generated.
2020-05-13 Fangrui Song <maskray@google.com>
PR debug/95096
* opts.c (common_handle_option): Don't make -gsplit-dwarf imply -g.
* doc/invoke.texi (-gsplit-dwarf): Update documentation.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/95096] Feature request: add -fsplit-dwarf
2020-05-12 23:15 [Bug debug/95096] New: Feature request: add -fsplit-dwarf i at maskray dot me
2020-05-12 23:19 ` [Bug debug/95096] " i at maskray dot me
2020-07-29 13:37 ` cvs-commit at gcc dot gnu.org
@ 2020-07-29 13:51 ` rguenth at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-07-29 13:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95096
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
Known to work| |11.0
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed in different ways.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-07-29 13:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 23:15 [Bug debug/95096] New: Feature request: add -fsplit-dwarf i at maskray dot me
2020-05-12 23:19 ` [Bug debug/95096] " i at maskray dot me
2020-07-29 13:37 ` cvs-commit at gcc dot gnu.org
2020-07-29 13:51 ` rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).