Jinsong Ji via llvm-dev
2021-Mar-26 16:22 UTC
[llvm-dev] Introducing debugger tuning for dbx
Hi Franz: There is currently no plan of supporting lldb on AIX as far as I know. Best, Jinsong Ji (纪金松), PhD. XL/LLVM on Power Compiler Development E-mail: jji at us.ibm.com From: Franz Fehringer via llvm-dev <llvm-dev at lists.llvm.org> To: llvm-dev at lists.llvm.org Date: 03/26/2021 10:05 AM Subject: [EXTERNAL] Re: [llvm-dev] Introducing debugger tuning for dbx Sent by: "llvm-dev" <llvm-dev-bounces at lists.llvm.org> 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 [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 _______________________________________________ LLVM Developers mailing list llvm-dev at lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev _______________________________________________ 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/55578d65/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210326/55578d65/attachment.gif>
Franz Fehringer via llvm-dev
2021-Mar-26 17:28 UTC
[llvm-dev] Introducing debugger tuning for dbx
Thats unfortunate but thx nevertheless. But debugging clang generated executables with gdb should or will be possible (on AIX)? Am 26.03.2021 um 17:22 schrieb Jinsong Ji:> > Hi Franz: > > There is currently no plan of supporting lldb on AIX as far as I know. > > > Best, > > Jinsong Ji (纪金松), PhD. > > XL/LLVM on Power Compiler Development > E-mail: jji at us.ibm.com > > Inactive hide details for Franz Fehringer via llvm-dev ---03/26/2021 > 10:05:21 AM---While i have no fruitful input regarding youFranz > Fehringer via llvm-dev ---03/26/2021 10:05:21 AM---While i have no > fruitful input regarding your question(s), just out of curiosity: What > ist the stat > > From: Franz Fehringer via llvm-dev <llvm-dev at lists.llvm.org> > To: llvm-dev at lists.llvm.org > Date: 03/26/2021 10:05 AM > Subject: [EXTERNAL] Re: [llvm-dev] Introducing debugger tuning for dbx > Sent by: "llvm-dev" <llvm-dev-bounces at lists.llvm.org> > > ------------------------------------------------------------------------ > > > > 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_ <mailto:llvm-dev at lists.llvm.org> > _https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev_ > <https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev> > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > <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/1a621a60/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210326/1a621a60/attachment.gif>