[Lldb-commits] [PATCH] D135310: [lldb/crashlog] Add support for 32bit frame addresses

2022-10-05 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere accepted this revision. JDevlieghere added a comment. LGTM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D135310/new/ https://reviews.llvm.org/D135310 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D135170: [LLDB] Fix crash when printing a struct with a static signed char member

2022-10-05 Thread Shafik Yaghmour via Phabricator via lldb-commits
shafik accepted this revision. shafik added a comment. LGTM Comment at: lldb/test/API/lang/cpp/const_static_integral_member/main.cpp:39 const static auto char_min = std::numeric_limits::min(); const static auto uchar_min = std::numeric_limits::min();

[Lldb-commits] [PATCH] D134378: [lldb] Support simplified template names

2022-10-05 Thread Arthur Eubanks via Phabricator via lldb-commits
aeubanks added inline comments. Comment at: lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp:1558-1560 +if (template_param_infos.hasParameterPack()) { + args = template_param_infos.packed_args->args; +} dblaikie

[Lldb-commits] [PATCH] D134378: [lldb] Support simplified template names

2022-10-05 Thread Arthur Eubanks via Phabricator via lldb-commits
aeubanks updated this revision to Diff 465586. aeubanks marked 5 inline comments as done. aeubanks added a comment. address comments Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D134378/new/ https://reviews.llvm.org/D134378 Files:

[Lldb-commits] [PATCH] D126260: [lldb/crashlog] Add support for Application Specific Backtraces & Information

2022-10-05 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere added a comment. I'm not sure I understand how the test is exercising the application specific backtrace. I don't see any of the frames or the crash reason in there. What am I missing? Comment at: lldb/examples/python/crashlog.py:581-597 +def

[Lldb-commits] [PATCH] D134378: [lldb] Support simplified template names

2022-10-05 Thread Michael Buch via Phabricator via lldb-commits
Michael137 added inline comments. Comment at: lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:2480 + // templates parameters, try again with the template parameters stripped since + // with simplified template names the DT_name may only contain the base name. + if

[Lldb-commits] [PATCH] D134849: [LLDB][NativePDB] Fix struct layout when it has anonymous unions.

2022-10-05 Thread Zequan Wu via Phabricator via lldb-commits
zequanwu updated this revision to Diff 465565. zequanwu marked an inline comment as done. zequanwu added a comment. Updated to handle the nested anonymous union and struct situation. It's done by: 1. Create the record layout with `Field` which could be a field member or an anonymous struct or

[Lldb-commits] [PATCH] D134378: [lldb] Support simplified template names

2022-10-05 Thread Michael Buch via Phabricator via lldb-commits
Michael137 added inline comments. Comment at: lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp:1550 + if (die.IsValid()) { +auto get_template_params_string = [this](DWARFDIE die) { + if (llvm::StringRef(die.GetName()).contains("<"))

[Lldb-commits] [PATCH] D134771: [NFCI] Simplify TypeCategoryImpl for-each callbacks.

2022-10-05 Thread Jorge Gorbe Moya via Phabricator via lldb-commits
jgorbe added a comment. Ping. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D134771/new/ https://reviews.llvm.org/D134771 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [PATCH] D135310: [lldb/crashlog] Add support for 32bit frame addresses

2022-10-05 Thread Dave Lee via Phabricator via lldb-commits
kastiglione added a comment. looks good CHANGES SINCE LAST ACTION https://reviews.llvm.org/D135310/new/ https://reviews.llvm.org/D135310 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D135310: [lldb/crashlog] Add support for 32bit frame addresses

2022-10-05 Thread Med Ismail Bennani via Phabricator via lldb-commits
mib updated this revision to Diff 465522. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D135310/new/ https://reviews.llvm.org/D135310 Files: lldb/examples/python/crashlog.py Index: lldb/examples/python/crashlog.py ===

[Lldb-commits] [PATCH] D135310: [lldb/crashlog] Add support for 32bit frame addresses

2022-10-05 Thread Med Ismail Bennani via Phabricator via lldb-commits
mib created this revision. mib added a reviewer: kastiglione. mib added a project: LLDB. Herald added subscribers: JDevlieghere, kristof.beyls. Herald added a project: All. mib requested review of this revision. Herald added a subscriber: lldb-commits. This patch adds support for 32bit stack

[Lldb-commits] [PATCH] D134378: [lldb] Support simplified template names

2022-10-05 Thread David Blaikie via Phabricator via lldb-commits
dblaikie added inline comments. Herald added a subscriber: JDevlieghere. Comment at: lldb/packages/Python/lldbsuite/test/make/Makefile.rules:230-231 -DEBUG_INFO_FLAG ?= -g +# DO NOT SUBMIT +DEBUG_INFO_FLAG ?= -g -gsimple-template-names Oh, nifty place to

[Lldb-commits] [PATCH] D134878: Update developer policy on potentially breaking changes

2022-10-05 Thread Aaron Ballman via Phabricator via lldb-commits
aaron.ballman added a comment. Pinging reviewers from projects other than libcxx (I'm hoping to get buy-in from someone on the LLVM side of things; lldb would be nice as well). CHANGES SINCE LAST ACTION https://reviews.llvm.org/D134878/new/ https://reviews.llvm.org/D134878

[Lldb-commits] [lldb] d0dcbb9 - [LLDB][RISCV][NFC] Rewrite instruction in algebraic datatype

2022-10-05 Thread via lldb-commits
Author: Emmmer Date: 2022-10-05T19:45:28+08:00 New Revision: d0dcbb9b026af47378ad0603a45663fad9d8e9c2 URL: https://github.com/llvm/llvm-project/commit/d0dcbb9b026af47378ad0603a45663fad9d8e9c2 DIFF: https://github.com/llvm/llvm-project/commit/d0dcbb9b026af47378ad0603a45663fad9d8e9c2.diff LOG:

[Lldb-commits] [PATCH] D135015: [LLDB][RISCV][NFC] Rewrite instruction in algebraic datatype

2022-10-05 Thread Emmmer S via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGd0dcbb9b026a: [LLDB][RISCV][NFC] Rewrite instruction in algebraic datatype (authored by Emmmer). Herald added a subscriber: lldb-commits. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[Lldb-commits] [PATCH] D135170: [LLDB] Fix crash when printing a struct with a static signed char member

2022-10-05 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett updated this revision to Diff 465342. DavidSpickett added a comment. Rebase Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D135170/new/ https://reviews.llvm.org/D135170 Files: clang/lib/AST/StmtPrinter.cpp

[Lldb-commits] [PATCH] D135169: [LLDB] Fix printing a static bool struct member when using "image lookup -t"

2022-10-05 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett updated this revision to Diff 465341. DavidSpickett added a comment. Rebase, Create moved to parent change. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D135169/new/ https://reviews.llvm.org/D135169 Files:

[Lldb-commits] [PATCH] D133778: Fix LLDB build on old Linux kernels (pre-4.1)

2022-10-05 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett added a comment. I've landed this so it has some time to go through bots before a backport to 15. Apologies that your name isn't in the commit, I did add an author line locally but Arc decided to remove it before landing. If you do more fixes (and please do) get commit access

[Lldb-commits] [lldb] a9ffb47 - Fix LLDB build on old Linux kernels (pre-4.1)

2022-10-05 Thread David Spickett via lldb-commits
Author: David Spickett Date: 2022-10-05T08:00:05Z New Revision: a9ffb473453519bae158e5d9c72431aa0f6aac2b URL: https://github.com/llvm/llvm-project/commit/a9ffb473453519bae158e5d9c72431aa0f6aac2b DIFF: https://github.com/llvm/llvm-project/commit/a9ffb473453519bae158e5d9c72431aa0f6aac2b.diff

[Lldb-commits] [PATCH] D133778: Fix LLDB build on old Linux kernels (pre-4.1)

2022-10-05 Thread David Spickett via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGa9ffb4734535: Fix LLDB build on old Linux kernels (pre-4.1) (authored by DavidSpickett). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D133778/new/

[Lldb-commits] [PATCH] D135169: [LLDB] Fix printing a static bool struct member when using "image lookup -t"

2022-10-05 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett added inline comments. Comment at: clang/include/clang/AST/ExprCXX.h:733 + static CXXBoolLiteralExpr *Create(const ASTContext , bool Val, QualType Ty, +SourceLocation Loc) { shafik wrote: > I think this makes

[Lldb-commits] [PATCH] D134906: Have MemoryCache cache addresses that were unreadable, so duplicate read attempts can be suppressed

2022-10-05 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. In D134906#3835260 , @jasonmolenda wrote: > In D134906#3832642 , @labath wrote: > >> I don't know about debugserver, but both lldb-server and gdbserver currently >> return an error when