This patch implements -gstrict-dwarf option in clang FE.
We had this option in clang code base just not used it.
We plan to verify the DWARF info based on DWARF 3.
Paths
| Differential D100809
[Debug-Info] implement -gstrict-dwarf ClosedPublic Authored by shchenz on Apr 19 2021, 8:19 PM.
Details Summary This patch implements -gstrict-dwarf option in clang FE. We had this option in clang code base just not used it. We plan to verify the DWARF info based on DWARF 3.
Diff Detail
Event TimelineHerald added subscribers: jansvoboda11, dexonsmith, dang. · View Herald TranscriptApr 19 2021, 8:19 PM
shchenz marked 2 inline comments as done. Comment Actionsaddress @dblaikie comments.
Comment Actions Nit on the description, this patch supports -gstrict-dwarf in the frontend.
This revision is now accepted and ready to land.Apr 20 2021, 10:10 AM Comment Actions Thanks for your review! @probinson @dblaikie @aprantl
Closed by commit rG26f138eed4af: [Debug-Info] implement -gstrict-dwarf (authored by shchenz). · Explain WhyApr 21 2021, 9:44 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 338752 clang/docs/ClangCommandLineReference.rst
clang/include/clang/Basic/CodeGenOptions.def
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/debug-options.c
|
This description is probably backwards/doesn't explicitly clarify which version of the flag does which behavior.
I guess the only nearby example is the -gembed-source, which describes the effect of -gembed-source, not the effect of -gno-embed-source.