Zheng CZ Chen via llvm-dev
2021-Mar-26 13:16 UTC
[llvm-dev] Introducing debugger tuning for dbx
Hi, As some of you may know [1],we are working on AIX support. Part of the AIX support is debug support, supporting dbx as the consumer of clang DWARF information [2]. While the dbx team is also working on improving its dwarf support, there are limitations in foreseeable future. Also there are situations on AIX that end user may not get up to date debugger. So we are considering doing some compatibly work in clang/llvm to help improving user experience. There are some limitations in dbx we know so far: .dwstr section is not supported for now; column-info in the line table not supported for now; sub-optimal handling of unsupported dwarf tags. Eg: dbx support dwarf 3, but misbehaving with new DWARF 5 tags DW_LANG_C_plus_plus_14 [3]. As discussed with the reviewers in patch [3], we are considering introducing a new tuning debugger tuning option for dbx, -debugger-tuning=dbx [4], so that we can change some option default on AIX for dbx to accommodate its limitations, eg; -gno-column-info. Any thoughts about the direction here? Reviews and feedback to [3][4] are also appreciated. [1]: https://lists.llvm.org/pipermail/llvm-dev/2019-February/130175.html [2]: https://reviews.llvm.org/rGafa76fe67a42f6d40d83a4f7d0cb03373045f3f4 [3]: https://reviews.llvm.org/D99250 [4]: https://reviews.llvm.org/D99400 Thanks! BRS// Chen Zheng Power Compiler Backend Developer -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210326/813160da/attachment.html>
Franz Fehringer via llvm-dev
2021-Mar-26 14:05 UTC
[llvm-dev] Introducing debugger tuning for dbx
While i have no fruitful input regarding your question(s), just out of curiosity: What ist the state of affairs for lldb on AIX? Am 26.03.2021 um 14:16 schrieb Zheng CZ Chen via llvm-dev:> > Hi, > > As some of you may know [1],we are working on AIX support. Part of the > AIX support is debug support, supporting dbx as the consumer of clang > DWARF information [2]. > > While the dbx team is also working on improving its dwarf support, > there are limitations in foreseeable future. Also there are situations > on AIX that end user may not get up to date debugger. > > So we are considering doing some compatibly work in clang/llvm to help > improving user experience. > > There are some limitations in dbx we know so far: > > * .dwstr section is not supported for now; > * column-info in the line table not supported for now; > * sub-optimal handling of unsupported dwarf tags. Eg: dbx support > dwarf 3, but misbehaving with new DWARF 5 tags > DW_LANG_C_plus_plus_14 [3]. > > > As discussed with the reviewers in patch [3], we are considering > introducing a new tuning debugger tuning option for dbx, > -debugger-tuning=dbx [4], so that we can change some option > default on AIX for dbx to accommodate its limitations, eg; > -gno-column-info. > > Any thoughts about the direction here? Reviews and feedback to [3][4] > are also appreciated. > > [1]: > https://lists.llvm.org/pipermail/llvm-dev/2019-February/130175.html > <https://lists.llvm.org/pipermail/llvm-dev/2019-February/130175.html> > [2]: > https://reviews.llvm.org/rGafa76fe67a42f6d40d83a4f7d0cb03373045f3f4 > <https://reviews.llvm.org/rGafa76fe67a42f6d40d83a4f7d0cb03373045f3f4> > [3]: https://reviews.llvm.org/D99250 <https://reviews.llvm.org/D99250> > [4]: https://reviews.llvm.org/D99400 <https://reviews.llvm.org/D99400> > > Thanks! > > BRS// > Chen Zheng > Power Compiler Backend Developer > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210326/a529bdad/attachment.html>
Adrian Prantl via llvm-dev
2021-Mar-26 15:26 UTC
[llvm-dev] Introducing debugger tuning for dbx
A dbx debugger tuning option sounds like the appropriate solution here. I support this. thanks, adrian> On Mar 26, 2021, at 6:16 AM, Zheng CZ Chen <czhengsz at cn.ibm.com> wrote: > > Hi, > > As some of you may know [1],we are working on AIX support. Part of the AIX support is debug support, supporting dbx as the consumer of clang DWARF information [2]. > > While the dbx team is also working on improving its dwarf support, there are limitations in foreseeable future. Also there are situations on AIX that end user may not get up to date debugger. > > So we are considering doing some compatibly work in clang/llvm to help improving user experience. > > There are some limitations in dbx we know so far: > > .dwstr section is not supported for now; > column-info in the line table not supported for now; > sub-optimal handling of unsupported dwarf tags. Eg: dbx support dwarf 3, but misbehaving with new DWARF 5 tags DW_LANG_C_plus_plus_14 [3]. > > As discussed with the reviewers in patch [3], we are considering introducing a new tuning debugger tuning option for dbx, -debugger-tuning=dbx [4], so that we can change some option > default on AIX for dbx to accommodate its limitations, eg; -gno-column-info. > > Any thoughts about the direction here? Reviews and feedback to [3][4] are also appreciated. > > [1]: https://lists.llvm.org/pipermail/llvm-dev/2019-February/130175.html <https://lists.llvm.org/pipermail/llvm-dev/2019-February/130175.html> > [2]: https://reviews.llvm.org/rGafa76fe67a42f6d40d83a4f7d0cb03373045f3f4 <https://reviews.llvm.org/rGafa76fe67a42f6d40d83a4f7d0cb03373045f3f4> > [3]: https://reviews.llvm.org/D99250 <https://reviews.llvm.org/D99250> > [4]: https://reviews.llvm.org/D99400 <https://reviews.llvm.org/D99400> > > Thanks! > > BRS// > Chen Zheng > Power Compiler Backend Developer >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210326/ef5b0d7f/attachment.html>