[llvm-dev] Introducing debugger tuning for dbx

Jinsong Ji via llvm-dev llvm-dev at lists.llvm.org
Fri Mar 26 11:36:37 PDT 2021


Yes.
gdb v8.11 or later (eg: the one from AIX Toolbox
https://www.ibm.com/support/pages/aix-toolbox-linux-applications-overview)
should be able to debug them.


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 01:28 PM
Subject:	[EXTERNAL] Re: [llvm-dev] Introducing debugger tuning for dbx
Sent by:	"llvm-dev" <llvm-dev-bounces at lists.llvm.org>



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

                  [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



_______________________________________________
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/94abe833/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/94abe833/attachment.gif>


More information about the llvm-dev mailing list