This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Add -gno-split-dwarf which can disable debug fission
ClosedPublic

Authored by MaskRay on Dec 7 2020, 7:25 PM.

Details

Summary

Currently when -gsplit-dwarf is specified (could be buried in a build system),
there is no convenient way to cancel debug fission without affecting the debug
information amount (all of -g0, -g1 -fsplit-dwarf-inlining, and -gline-directives-only
can, but they affect the debug information amount).

Diff Detail

Event Timeline

MaskRay created this revision.Dec 7 2020, 7:25 PM
MaskRay requested review of this revision.Dec 7 2020, 7:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 7 2020, 7:25 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
dblaikie accepted this revision.Dec 8 2020, 11:07 AM

Looks good, thanks!

This revision is now accepted and ready to land.Dec 8 2020, 11:07 AM
MaskRay updated this revision to Diff 310331.Dec 8 2020, 1:24 PM

Test there is no -ggnu-pubnames

This revision was landed with ongoing or failed builds.Dec 8 2020, 1:25 PM
This revision was automatically updated to reflect the committed changes.