This is an archive of the discontinued LLVM Phabricator instance.

[DWARF5][SplitDwarf] Set default state for -fsplit-dwarf-inlining to be false.
ClosedPublic

Authored by avl on Dec 10 2019, 2:15 PM.

Details

Summary

This patch is extracted from D71244. The -fsplit-dwarf-inlining option does
not conform to DWARF5 standard. It creates children for Skeleton compilation
unit. We need default behavior to be DWARF5 compatible. Thus, set default
state for -fsplit-dwarf-inlining into "false".

Diff Detail

Event Timeline

avl created this revision.Dec 10 2019, 2:15 PM
dblaikie accepted this revision.Dec 10 2019, 2:31 PM

We need default behavior to be DWARF5 compatible.

I don't think that's actually a huge issue - gdb certainly didn't seem to have a problem with this extra DWARF (& was the only implementation of Split DWARF For a while) - I don't imagine lldb has any problem with it either (because it's been the default for a while, etc).

But, yeah, seems fair to me.

This revision is now accepted and ready to land.Dec 10 2019, 2:31 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptDec 11 2019, 1:20 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript