This is an archive of the discontinued LLVM Phabricator instance.

[debug-info] support new tuning debugger type DBX for XCOFF DWARF
ClosedPublic

Authored by shchenz on Mar 26 2021, 1:08 AM.

Details

Summary

add new tuning debugger type DBX for XCOFF DWARF.

Based on this debugger type, for now, we plan to:
1: use inline string by default for XCOFF DWARF
2: generate no column info for debug line table.
3: may need to add a new DWARF flag/option, like strict DWARF to make sure DWARF info is generated under the correct DWARF version. See https://reviews.llvm.org/D99250

Diff Detail

Event Timeline

shchenz created this revision.Mar 26 2021, 1:08 AM
shchenz requested review of this revision.Mar 26 2021, 1:08 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 26 2021, 1:08 AM
shchenz edited the summary of this revision. (Show Details)Mar 26 2021, 6:16 AM
shchenz added reviewers: dblaikie, aprantl, jsji, probinson, Restricted Project, echristo.
shchenz added a project: debug-info.
shchenz added subscribers: power-llvm-team, llvm.org.
aprantl accepted this revision.Mar 26 2021, 8:25 AM
aprantl added inline comments.
llvm/include/llvm/Target/TargetOptions.h
109

Nit: It would be nice to reformat all these comments for Doxygen:
DBX ///< Tune debug info for dbx.

This revision is now accepted and ready to land.Mar 26 2021, 8:25 AM
This revision was landed with ongoing or failed builds.Mar 31 2021, 9:12 PM
This revision was automatically updated to reflect the committed changes.
shchenz added inline comments.Mar 31 2021, 9:12 PM
llvm/include/llvm/Target/TargetOptions.h
109

Thanks. Done in the commit