This is an archive of the discontinued LLVM Phabricator instance.

Downgrade DWARF2 section limit error to a warning
ClosedPublic

Authored by olista01 on Sep 17 2014, 7:11 AM.

Details

Reviewers
dblaikie
Summary

We currently emit an error when trying to assemble a file with more than one section using DWARF2 debug info. This should be a warning instead, as the resulting file will still be usable, but with a degraded debug illusion.

Diff Detail

Event Timeline

olista01 updated this revision to Diff 13783.Sep 17 2014, 7:11 AM
olista01 retitled this revision from to Downgrade DWARF2 section limit error to a warning.
olista01 updated this object.
olista01 edited the test plan for this revision. (Show Details)
olista01 set the repository for this revision to rL LLVM.
olista01 added a subscriber: Unknown Object (MLST).
dblaikie accepted this revision.Sep 17 2014, 11:04 AM
dblaikie added a reviewer: dblaikie.
dblaikie added a subscriber: dblaikie.

Is it worth ensuring that the section that we do describe is the .text section? Would seem a bit silly to describe the high/low pc of some random linkonce_odr/inline function instead?

In any case, not really a priority for me, so whatever suits you is fine.

This revision is now accepted and ready to land.Sep 17 2014, 11:04 AM
olista01 closed this revision.Sep 22 2014, 3:55 AM

Committed revision 218241.