[Lldb-commits] [lldb] 300dce9 - [lldb] Migrate to GetPropertyAtIndexAs for FileSpecList (NFC)

2023-05-04 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2023-05-04T22:24:23-07:00 New Revision: 300dce986f656a2d787b8e882381f39746d2fc0a URL: https://github.com/llvm/llvm-project/commit/300dce986f656a2d787b8e882381f39746d2fc0a DIFF:

[Lldb-commits] [lldb] ab73a9c - [lldb] Eliminate {Get, Set}PropertyAtIndexAsFileSpec (NFC)

2023-05-04 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2023-05-04T22:10:28-07:00 New Revision: ab73a9c1a77cc9502f07ff8a9d1fd9dadccd702f URL: https://github.com/llvm/llvm-project/commit/ab73a9c1a77cc9502f07ff8a9d1fd9dadccd702f DIFF:

[Lldb-commits] [lldb] 917b3a7 - [lldb] Move Core/FileSpecList -> Utility/FileSpecList (NFC)

2023-05-04 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2023-05-04T22:00:17-07:00 New Revision: 917b3a7e62063398d2cbc4f8fe56feb68b0fae4f URL: https://github.com/llvm/llvm-project/commit/917b3a7e62063398d2cbc4f8fe56feb68b0fae4f DIFF:

[Lldb-commits] [lldb] b193bd3 - [lldb] Remove SetPropertyAtIndexAsLanguage (NFC)

2023-05-04 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2023-05-04T21:48:14-07:00 New Revision: b193bd3f28acba2686e6f7d376884deb82ae43c6 URL: https://github.com/llvm/llvm-project/commit/b193bd3f28acba2686e6f7d376884deb82ae43c6 DIFF:

[Lldb-commits] [PATCH] D147370: [lldb] fixing #61727 fixing incorrect variable displaying with DW_OP_div

2023-05-04 Thread LU Hongyi via Phabricator via lldb-commits
jwnhy updated this revision to Diff 519735. jwnhy added a comment. Update the patch for better naming. The assertion is correct, I somehow delete a file directive from the assembly generated by clang. It should work now...Thanks a lot for checking this. CHANGES SINCE LAST ACTION

[Lldb-commits] [PATCH] D147370: [lldb] fixing #61727 fixing incorrect variable displaying with DW_OP_div

2023-05-04 Thread LU Hongyi via Phabricator via lldb-commits
jwnhy updated this revision to Diff 519733. jwnhy added a comment. Update the patch to pass the assertion. Sorry I forget to enable these on my machine. Given that said, this assertion seems pretty weird to me. Since this assembly is also generated by clang (with handcrafted DWARF, this

[Lldb-commits] [PATCH] D147370: [lldb] fixing #61727 fixing incorrect variable displaying with DW_OP_div

2023-05-04 Thread Michael Buch via Phabricator via lldb-commits
Michael137 added a comment. I tried the new test case on my Mac but it's now hitting an assertion: TEST 'lldb-shell :: SymbolFile/DWARF/x86/DW_OP_div-with-signed.s' FAILED Script: -- : 'RUN: at line 2';

[Lldb-commits] [PATCH] D141907: [CMake] Ensure `CLANG_RESOURCE_DIR` is respected

2023-05-04 Thread Tom Stellard via Phabricator via lldb-commits
tstellar added inline comments. Comment at: cmake/Modules/GetClangResourceDir.cmake:13 + if(DEFINED CLANG_RESOURCE_DIR AND NOT CLANG_RESOURCE_DIR STREQUAL "") +set(ret_dir bin/${CLANG_RESOURCE_DIR}) + else() tstellar wrote: > paperchalice wrote: > >

[Lldb-commits] [PATCH] D141907: [CMake] Ensure `CLANG_RESOURCE_DIR` is respected

2023-05-04 Thread Tom Stellard via Phabricator via lldb-commits
tstellar added inline comments. Comment at: cmake/Modules/GetClangResourceDir.cmake:13 + if(DEFINED CLANG_RESOURCE_DIR AND NOT CLANG_RESOURCE_DIR STREQUAL "") +set(ret_dir bin/${CLANG_RESOURCE_DIR}) + else() paperchalice wrote: > tstellar wrote: > > Why is

[Lldb-commits] [PATCH] D141907: [CMake] Ensure `CLANG_RESOURCE_DIR` is respected

2023-05-04 Thread Junchang Liu via Phabricator via lldb-commits
paperchalice added inline comments. Comment at: cmake/Modules/GetClangResourceDir.cmake:13 + if(DEFINED CLANG_RESOURCE_DIR AND NOT CLANG_RESOURCE_DIR STREQUAL "") +set(ret_dir bin/${CLANG_RESOURCE_DIR}) + else() tstellar wrote: > Why is the bin prefix

[Lldb-commits] [lldb] 3d6073a - Revert "[lldb] Expose a const iterator for SymbolContextList"

2023-05-04 Thread Alex Langford via lldb-commits
Author: Alex Langford Date: 2023-05-04T16:49:30-07:00 New Revision: 3d6073a9c33005abf8c6fc074e434c90b36dccb9 URL: https://github.com/llvm/llvm-project/commit/3d6073a9c33005abf8c6fc074e434c90b36dccb9 DIFF: https://github.com/llvm/llvm-project/commit/3d6073a9c33005abf8c6fc074e434c90b36dccb9.diff

[Lldb-commits] [PATCH] D149900: [lldb] Expose a const iterator for SymbolContextList

2023-05-04 Thread Alex Langford via Phabricator via lldb-commits
bulbazord added a comment. Looks like this may have broken the Debian buildbot: https://lab.llvm.org/buildbot/#/builders/68/builds/52162/steps/6/logs/stdio I'm taking a look and will try to fix forward. If I can't figure it out quickly, I will revert. Repository: rG LLVM Github Monorepo

[Lldb-commits] [PATCH] D149774: [lldb] Use templates to simplify {Get, Set}PropertyAtIndex (NFC)

2023-05-04 Thread Jonas Devlieghere via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. JDevlieghere marked 2 inline comments as done. Closed by commit rG6f8b33f6dfd0: [lldb] Use templates to simplify {Get,Set}PropertyAtIndex (NFC) (authored by JDevlieghere). Herald added a project: LLDB. Changed prior to

[Lldb-commits] [lldb] 6f8b33f - [lldb] Use templates to simplify {Get, Set}PropertyAtIndex (NFC)

2023-05-04 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2023-05-04T16:42:46-07:00 New Revision: 6f8b33f6dfd0a0f8d2522b6c832bd6298ae2f3f3 URL: https://github.com/llvm/llvm-project/commit/6f8b33f6dfd0a0f8d2522b6c832bd6298ae2f3f3 DIFF:

[Lldb-commits] [PATCH] D149900: [lldb] Expose a const iterator for SymbolContextList

2023-05-04 Thread Alex Langford via Phabricator via lldb-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG04aa943be8ed: [lldb] Expose a const iterator for SymbolContextList (authored by bulbazord). Repository: rG LLVM Github Monorepo CHANGES SINCE

[Lldb-commits] [lldb] 04aa943 - [lldb] Expose a const iterator for SymbolContextList

2023-05-04 Thread Alex Langford via lldb-commits
Author: Alex Langford Date: 2023-05-04T16:36:44-07:00 New Revision: 04aa943be8ed5c03092e2a90112ac638360ec253 URL: https://github.com/llvm/llvm-project/commit/04aa943be8ed5c03092e2a90112ac638360ec253 DIFF: https://github.com/llvm/llvm-project/commit/04aa943be8ed5c03092e2a90112ac638360ec253.diff

[Lldb-commits] [PATCH] D149900: [lldb] Expose a const iterator for SymbolContextList

2023-05-04 Thread Alex Langford via Phabricator via lldb-commits
bulbazord updated this revision to Diff 519690. bulbazord added a comment. Explicitly write out type Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149900/new/ https://reviews.llvm.org/D149900 Files:

[Lldb-commits] [PATCH] D149774: [lldb] Use templates to simplify {Get, Set}PropertyAtIndex (NFC)

2023-05-04 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere marked 2 inline comments as done. JDevlieghere added inline comments. Comment at: lldb/include/lldb/Interpreter/OptionValue.h:325-344 + template ::value, bool> = true> + std::optional GetValueAs() const { +if constexpr (std::is_same_v) + return

[Lldb-commits] [PATCH] D149914: [lldb] Refactor ObjCLanguage::MethodName

2023-05-04 Thread Alex Langford via Phabricator via lldb-commits
bulbazord created this revision. bulbazord added reviewers: JDevlieghere, aprantl, mib, jingham, kastiglione. Herald added a subscriber: arphaman. Herald added a reviewer: shafik. Herald added a project: All. bulbazord requested review of this revision. Herald added a project: LLDB. Herald added a

[Lldb-commits] [PATCH] D149774: [lldb] Use templates to simplify {Get, Set}PropertyAtIndex (NFC)

2023-05-04 Thread Med Ismail Bennani via Phabricator via lldb-commits
mib added a comment. Very cool stuff! Comment at: lldb/include/lldb/Interpreter/OptionValue.h:325-344 + template ::value, bool> = true> + std::optional GetValueAs() const { +if constexpr (std::is_same_v) + return GetUInt64Value(); +if constexpr (std::is_same_v)

[Lldb-commits] [PATCH] D149900: [lldb] Expose a const iterator for SymbolContextList

2023-05-04 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere accepted this revision. JDevlieghere added a comment. LGTM Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149900/new/ https://reviews.llvm.org/D149900 ___ lldb-commits mailing list

[Lldb-commits] [PATCH] D149900: [lldb] Expose a const iterator for SymbolContextList

2023-05-04 Thread Med Ismail Bennani via Phabricator via lldb-commits
mib added a comment. LGTM but I'd prefer if we kept the type in the for loop for (const SymbolContext _ctx : sc_list) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149900/new/ https://reviews.llvm.org/D149900

[Lldb-commits] [PATCH] D149900: [lldb] Expose a const iterator for SymbolContextList

2023-05-04 Thread Adrian Prantl via Phabricator via lldb-commits
aprantl accepted this revision. aprantl added a comment. This revision is now accepted and ready to land. Please do more of this! I haven't checked all the replacements for correctness but the direction is good. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[Lldb-commits] [PATCH] D149804: [lldb][NFCI] Add unittests for ObjCLanguage::MethodName

2023-05-04 Thread Alex Langford via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGdc39d98c3faa: [lldb][NFCI] Add unittests for ObjCLanguage::MethodName (authored by bulbazord). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149804/new/

[Lldb-commits] [lldb] dc39d98 - [lldb][NFCI] Add unittests for ObjCLanguage::MethodName

2023-05-04 Thread Alex Langford via lldb-commits
Author: Alex Langford Date: 2023-05-04T13:50:57-07:00 New Revision: dc39d98c3faa81ea48b89489b17ba80dae38c9b9 URL: https://github.com/llvm/llvm-project/commit/dc39d98c3faa81ea48b89489b17ba80dae38c9b9 DIFF: https://github.com/llvm/llvm-project/commit/dc39d98c3faa81ea48b89489b17ba80dae38c9b9.diff

[Lldb-commits] [PATCH] D149900: [lldb] Expose a const iterator for SymbolContextList

2023-05-04 Thread Alex Langford via Phabricator via lldb-commits
bulbazord created this revision. bulbazord added reviewers: JDevlieghere, jingham, mib, aprantl. Herald added a project: All. bulbazord requested review of this revision. Herald added a reviewer: jdoerfert. Herald added subscribers: lldb-commits, jplehr, sstefan1. Herald added a project: LLDB.

[Lldb-commits] [PATCH] D149792: Add AArch64 MASK watchpoint support to debugserver

2023-05-04 Thread Jason Molenda via Phabricator via lldb-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG2e16e41b28b1: Add AArch64 MASK watchpoint support in debugserver (authored by jasonmolenda). Repository: rG LLVM Github Monorepo CHANGES SINCE

[Lldb-commits] [lldb] 2e16e41 - Add AArch64 MASK watchpoint support in debugserver

2023-05-04 Thread Jason Molenda via lldb-commits
Author: Jason Molenda Date: 2023-05-04T13:23:51-07:00 New Revision: 2e16e41b28b1b1e027d0303e1a37ccbded96a46f URL: https://github.com/llvm/llvm-project/commit/2e16e41b28b1b1e027d0303e1a37ccbded96a46f DIFF: https://github.com/llvm/llvm-project/commit/2e16e41b28b1b1e027d0303e1a37ccbded96a46f.diff

[Lldb-commits] [PATCH] D149792: Add AArch64 MASK watchpoint support to debugserver

2023-05-04 Thread Jason Molenda via Phabricator via lldb-commits
jasonmolenda updated this revision to Diff 519629. jasonmolenda added a comment. Update patch with Dan and Jonas' feedback. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149792/new/ https://reviews.llvm.org/D149792 Files:

[Lldb-commits] [PATCH] D149803: Use the `addressing_bits` kv in the stop packet from the remote stub, if present

2023-05-04 Thread Jason Molenda via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG4fac08ff1dcd: Recognize `addressing_bits` kv in stop reply packet (authored by jasonmolenda). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149803/new/

[Lldb-commits] [lldb] 4fac08f - Recognize `addressing_bits` kv in stop reply packet

2023-05-04 Thread Jason Molenda via lldb-commits
Author: Jason Molenda Date: 2023-05-04T13:14:10-07:00 New Revision: 4fac08ff1dcd02c89c677365b10921399caf79df URL: https://github.com/llvm/llvm-project/commit/4fac08ff1dcd02c89c677365b10921399caf79df DIFF: https://github.com/llvm/llvm-project/commit/4fac08ff1dcd02c89c677365b10921399caf79df.diff

[Lldb-commits] [PATCH] D149804: [lldb][NFCI] Add unittests for ObjCLanguage::MethodName

2023-05-04 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere accepted this revision. JDevlieghere added a comment. This revision is now accepted and ready to land. LGTM Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149804/new/ https://reviews.llvm.org/D149804

[Lldb-commits] [PATCH] D149792: Add AArch64 MASK watchpoint support to debugserver

2023-05-04 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere accepted this revision. JDevlieghere added a comment. This revision is now accepted and ready to land. Some small nits but LGTM Comment at: lldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp:1079 + // masked off) -- a MASK value of 31. + uint64_t

[Lldb-commits] [PATCH] D149719: [LLDB] Add a hook to notify REPLs that an expression was evaluated

2023-05-04 Thread walter erquinigo via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGbfb7c99f3aea: [LLDB] Add a hook to notify REPLs that an expression was evaluated (authored by wallace). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[Lldb-commits] [PATCH] D149717: [lldb] Make some functions useful to REPLs public

2023-05-04 Thread walter erquinigo via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGdb5f745a2bfc: [lldb] Make some functions useful to REPLs public (authored by wallace). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149717/new/

[Lldb-commits] [lldb] bfb7c99 - [LLDB] Add a hook to notify REPLs that an expression was evaluated

2023-05-04 Thread walter erquinigo via lldb-commits
Author: walter erquinigo Date: 2023-05-04T14:44:03-05:00 New Revision: bfb7c99f3aeab09236adf1f684f7144f384c6dd7 URL: https://github.com/llvm/llvm-project/commit/bfb7c99f3aeab09236adf1f684f7144f384c6dd7 DIFF:

[Lldb-commits] [lldb] db5f745 - [lldb] Make some functions useful to REPLs public

2023-05-04 Thread walter erquinigo via lldb-commits
Author: walter erquinigo Date: 2023-05-04T14:44:03-05:00 New Revision: db5f745a2bfcd1b93fc298da6cfcf5ed2f00e98f URL: https://github.com/llvm/llvm-project/commit/db5f745a2bfcd1b93fc298da6cfcf5ed2f00e98f DIFF:

[Lldb-commits] [PATCH] D141907: [CMake] Ensure `CLANG_RESOURCE_DIR` is respected

2023-05-04 Thread Tom Stellard via Phabricator via lldb-commits
tstellar added inline comments. Herald added subscribers: ekilmer, jplehr. Comment at: cmake/Modules/GetClangResourceDir.cmake:13 + if(DEFINED CLANG_RESOURCE_DIR AND NOT CLANG_RESOURCE_DIR STREQUAL "") +set(ret_dir bin/${CLANG_RESOURCE_DIR}) + else() Why

[Lldb-commits] [PATCH] D149719: [LLDB] Add a hook to notify REPLs that an expression was evaluated

2023-05-04 Thread walter erquinigo via Phabricator via lldb-commits
wallace added inline comments. Comment at: lldb/include/lldb/Expression/REPL.h:124 +const lldb::ValueObjectSP _valobj_sp, +const Status ) { +return llvm::Error::success(); bulbazord wrote: > Do you still need

[Lldb-commits] [PATCH] D149774: [lldb] Use templates to simplify {Get, Set}PropertyAtIndex (NFC)

2023-05-04 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere updated this revision to Diff 519580. JDevlieghere added a comment. Remove duplicate if-clause CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149774/new/ https://reviews.llvm.org/D149774 Files: lldb/include/lldb/Core/Debugger.h

[Lldb-commits] [lldb] eee32d6 - [lldb] Remove unused g_objc_Tagged_ISA constants (NFC)

2023-05-04 Thread Dave Lee via lldb-commits
Author: Dave Lee Date: 2023-05-04T11:01:37-07:00 New Revision: eee32d66febfbfa6fea44adc8a4416c5896b8c97 URL: https://github.com/llvm/llvm-project/commit/eee32d66febfbfa6fea44adc8a4416c5896b8c97 DIFF: https://github.com/llvm/llvm-project/commit/eee32d66febfbfa6fea44adc8a4416c5896b8c97.diff

[Lldb-commits] [PATCH] D149774: [lldb] Use templates to simplify {Get, Set}PropertyAtIndex (NFC)

2023-05-04 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere updated this revision to Diff 519570. JDevlieghere added a comment. Use C++17 to simplify things CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149774/new/ https://reviews.llvm.org/D149774 Files: lldb/include/lldb/Core/Debugger.h

[Lldb-commits] [PATCH] D149717: [lldb] Make some functions useful to REPLs public

2023-05-04 Thread Alex Langford via Phabricator via lldb-commits
bulbazord accepted this revision. bulbazord added a comment. This revision is now accepted and ready to land. LGTM Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149717/new/ https://reviews.llvm.org/D149717

[Lldb-commits] [PATCH] D149719: [LLDB] Add a hook to notify REPLs that an expression was evaluated

2023-05-04 Thread Alex Langford via Phabricator via lldb-commits
bulbazord added inline comments. Comment at: lldb/include/lldb/Expression/REPL.h:124 +const lldb::ValueObjectSP _valobj_sp, +const Status ) { +return llvm::Error::success(); Do you still need the `Status`

[Lldb-commits] [PATCH] D149717: [lldb] Make some functions useful to REPLs public

2023-05-04 Thread walter erquinigo via Phabricator via lldb-commits
wallace updated this revision to Diff 519542. wallace added a comment. address comments Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149717/new/ https://reviews.llvm.org/D149717 Files: lldb/include/lldb/Core/Debugger.h Index:

[Lldb-commits] [PATCH] D149717: [lldb] Make some functions useful to REPLs public

2023-05-04 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere added inline comments. Comment at: lldb/include/lldb/Core/Debugger.h:505 + /// that directly use the \a lldb_private namespace and want to use the + /// default LLDB event handler thread instead of defining their own. + bool StartEventHandlerThread();

[Lldb-commits] [PATCH] D149641: [docs] Hide collaboration and include graphs in doxygen docs

2023-05-04 Thread Timm Bäder via Phabricator via lldb-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGeadf6db585e1: [docs] Hide collaboration and include graphs in doxygen docs (authored by tbaeder). Repository: rG LLVM Github Monorepo CHANGES

[Lldb-commits] [PATCH] D149641: [docs] Hide collaboration and include graphs in doxygen docs

2023-05-04 Thread Konrad Wilhelm Kleine via Phabricator via lldb-commits
kwk accepted this revision. kwk added a comment. LGTM Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149641/new/ https://reviews.llvm.org/D149641 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D149641: [docs] Hide collaboration and include graphs in doxygen docs

2023-05-04 Thread Nikita Popov via Phabricator via lldb-commits
nikic accepted this revision. nikic added a comment. This revision is now accepted and ready to land. Herald added a subscriber: StephenFan. LGTM, only the inheritance graph is useful, which this preserves if I understand correctly (CLASS_GRAPH is still YES). Repository: rG LLVM Github