[Lldb-commits] [lldb] [lldb] Avoid repeated map lookups (NFC) (PR #123892)

2025-01-21 Thread Kazu Hirata via lldb-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/123892 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Avoid repeated map lookups (NFC) (PR #123892)

2025-01-21 Thread Pavel Labath via lldb-commits
https://github.com/labath approved this pull request. https://github.com/llvm/llvm-project/pull/123892 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Support format string in the prompt (PR #123430)

2025-01-21 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere closed https://github.com/llvm/llvm-project/pull/123430 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 2841cdb - [lldb] Support format string in the prompt (#123430)

2025-01-21 Thread via lldb-commits
Author: Jonas Devlieghere Date: 2025-01-21T21:01:02-08:00 New Revision: 2841cdbfda92b3fb5fbec726f3376b198106d496 URL: https://github.com/llvm/llvm-project/commit/2841cdbfda92b3fb5fbec726f3376b198106d496 DIFF: https://github.com/llvm/llvm-project/commit/2841cdbfda92b3fb5fbec726f3376b198106d496.d

[Lldb-commits] [lldb] [LLDB] Added support for cross compiling with host python (PR #123735)

2025-01-21 Thread via lldb-commits
patryk4815 wrote: @DavidSpickett I found that `get-python-config.py` wasn't fully correct for cross-compilation. I've added a comment there specifying which functions should be used. Guide how to cross compile, eg. for riscv64: ``` export _PYTHON_HOST_PLATFORM="linux-riscv64" export _PYTHON_SY

[Lldb-commits] [lldb] [LLDB] Added support for cross compiling with host python (PR #123735)

2025-01-21 Thread via lldb-commits
https://github.com/patryk4815 updated https://github.com/llvm/llvm-project/pull/123735 >From 1883c703f335d44f5a4cfff8148c8d557ab6af1e Mon Sep 17 00:00:00 2001 From: Patryk Sondej Date: Tue, 21 Jan 2025 12:44:44 +0100 Subject: [PATCH 1/2] Added support for `_PYTHON_HOST_PLATFORM` and `_PYTHON_S

[Lldb-commits] [lldb] Revert "[LLDB] Add draft docstrings for SBSaveCoreOptions" (PR #123873)

2025-01-21 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jacob Lalonde (Jlalond) Changes Reverts llvm/llvm-project#123132 --- Full diff: https://github.com/llvm/llvm-project/pull/123873.diff 1 Files Affected: - (modified) lldb/bindings/interface/SBSaveCoreOptionsDocstrings.i (-71) `

[Lldb-commits] [lldb] Revert "[LLDB] Add draft docstrings for SBSaveCoreOptions" (PR #123873)

2025-01-21 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond closed https://github.com/llvm/llvm-project/pull/123873 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 18ee7e1 - Revert "[LLDB] Add draft docstrings for SBSaveCoreOptions" (#123873)

2025-01-21 Thread via lldb-commits
Author: Jacob Lalonde Date: 2025-01-21T19:55:17-08:00 New Revision: 18ee7e1792cf4cc9b287ae10063a7c2b7792da8f URL: https://github.com/llvm/llvm-project/commit/18ee7e1792cf4cc9b287ae10063a7c2b7792da8f DIFF: https://github.com/llvm/llvm-project/commit/18ee7e1792cf4cc9b287ae10063a7c2b7792da8f.diff

[Lldb-commits] [lldb] Revert "[LLDB] Add draft docstrings for SBSaveCoreOptions" (PR #123873)

2025-01-21 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond created https://github.com/llvm/llvm-project/pull/123873 Reverts llvm/llvm-project#123132 >From 7aac81a4e30f9e46907a60009ec051473089319e Mon Sep 17 00:00:00 2001 From: Jacob Lalonde Date: Tue, 21 Jan 2025 19:54:42 -0800 Subject: [PATCH] Revert "[LLDB] Add draft docst

[Lldb-commits] [lldb] [LLDB] Add draft docstrings for SBSaveCoreOptions (PR #123132)

2025-01-21 Thread Jacob Lalonde via lldb-commits
Jlalond wrote: @dyung Yeah, I'll revert and I'll figure it out tomorrow https://github.com/llvm/llvm-project/pull/123132 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Add draft docstrings for SBSaveCoreOptions (PR #123132)

2025-01-21 Thread via lldb-commits
dyung wrote: @Jlalond This seems to be breaking the LLDB build on multiple bots, can you take a look and revert if you need time to investigate? - https://lab.llvm.org/buildbot/#/builders/181/builds/12112 - https://lab.llvm.org/buildbot/#/builders/59/builds/11453 - https://lab.llvm.org/buildbot

[Lldb-commits] [lldb] [lldb] Support format string in the prompt (PR #123430)

2025-01-21 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/123430 >From 10e89226a485d73acfb07ad6d72f3004d270a2f5 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 17 Jan 2025 16:51:21 -0800 Subject: [PATCH 1/4] [lldb] Support format string in the prompt Impleme

[Lldb-commits] [lldb] [LLDB][LLDB-DAP] Wire up DAP to listen to external progress events (PR #123826)

2025-01-21 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond closed https://github.com/llvm/llvm-project/pull/123826 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] b9813ce - [LLDB][LLDB-DAP] Wire up DAP to listen to external progress events (#123826)

2025-01-21 Thread via lldb-commits
Author: Jacob Lalonde Date: 2025-01-21T16:54:53-08:00 New Revision: b9813ceb95a81506b0bdedfae5e7b4b9f4d9c6bc URL: https://github.com/llvm/llvm-project/commit/b9813ceb95a81506b0bdedfae5e7b4b9f4d9c6bc DIFF: https://github.com/llvm/llvm-project/commit/b9813ceb95a81506b0bdedfae5e7b4b9f4d9c6bc.diff

[Lldb-commits] [lldb] [LLDB] Added support for cross compiling with host python (PR #123735)

2025-01-21 Thread via lldb-commits
https://github.com/patryk4815 edited https://github.com/llvm/llvm-project/pull/123735 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][LLDB-DAP] Wire up DAP to listen to external progress events (PR #123826)

2025-01-21 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere approved this pull request. https://github.com/llvm/llvm-project/pull/123826 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB-DAP] Send Progress update message over DAP (PR #123837)

2025-01-21 Thread Jonas Devlieghere via lldb-commits
@@ -99,7 +99,8 @@ class ProgressEventManager { /// Receive a new progress event for the start event and try to report it if /// appropriate. - void Update(uint64_t progress_id, uint64_t completed, uint64_t total); + void Update(uint64_t progress_id, const char *message,

[Lldb-commits] [lldb] [LLDB-DAP] Send Progress update message over DAP (PR #123837)

2025-01-21 Thread Jonas Devlieghere via lldb-commits
@@ -164,10 +168,11 @@ const ProgressEvent &ProgressEventManager::GetMostRecentEvent() const { return m_last_update_event ? *m_last_update_event : m_start_event; } -void ProgressEventManager::Update(uint64_t progress_id, uint64_t completed, -

[Lldb-commits] [lldb] [LLDB-DAP] Send Progress update message over DAP (PR #123837)

2025-01-21 Thread Jonas Devlieghere via lldb-commits
@@ -117,6 +117,10 @@ json::Value ProgressEvent::ToJSON() const { body.try_emplace("cancellable", false); } + if (m_event_type == progressUpdate) { +EmplaceSafeString(body, "message", m_message); + } JDevlieghere wrote: Nit: no braces around single

[Lldb-commits] [lldb] [LLDB-DAP] Send Progress update message over DAP (PR #123837)

2025-01-21 Thread Jonas Devlieghere via lldb-commits
@@ -164,10 +168,11 @@ const ProgressEvent &ProgressEventManager::GetMostRecentEvent() const { return m_last_update_event ? *m_last_update_event : m_start_event; } -void ProgressEventManager::Update(uint64_t progress_id, uint64_t completed, -

[Lldb-commits] [lldb] [LLDB] Add draft docstrings for SBSaveCoreOptions (PR #123132)

2025-01-21 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere approved this pull request. 🚢 https://github.com/llvm/llvm-project/pull/123132 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Add draft docstrings for SBSaveCoreOptions (PR #123132)

2025-01-21 Thread Jacob Lalonde via lldb-commits
Jlalond wrote: Hey @JDevlieghere, bump for this patch but also a follow up question. Do I need to manually add docstrings for the constructors for SBProgress, [the webpage](https://lldb.llvm.org/python_api/lldb.SBProgress.html) reflects the method but no the constructor(s). https://github.com

[Lldb-commits] [lldb] [LLDB][LLDB-DAP] Wire up DAP to listen to external progress events (PR #123826)

2025-01-21 Thread Walter Erquinigo via lldb-commits
https://github.com/walter-erquinigo approved this pull request. https://github.com/llvm/llvm-project/pull/123826 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][LLDB-DAP] Wire up DAP to listen to external progress events (PR #123826)

2025-01-21 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond updated https://github.com/llvm/llvm-project/pull/123826 >From ae32d8b691c658f3fc945576d5d6ac2c4d24213b Mon Sep 17 00:00:00 2001 From: Jacob Lalonde Date: Tue, 21 Jan 2025 13:40:23 -0800 Subject: [PATCH] Wire up DAP to listen to external progress events, and list the

[Lldb-commits] [lldb] [LLDB][LLDB-DAP] Wire up DAP to listen to external progress events (PR #123826)

2025-01-21 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond updated https://github.com/llvm/llvm-project/pull/123826 >From 1e14270bbbce2531d51c7153e26d49c2bb868684 Mon Sep 17 00:00:00 2001 From: Jacob Lalonde Date: Tue, 21 Jan 2025 13:40:23 -0800 Subject: [PATCH] Wire up DAP to listen to external progress events, and list the

[Lldb-commits] [lldb] [LLDB][LLDB-DAP] Wire up DAP to listen to external progress events (PR #123826)

2025-01-21 Thread via lldb-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff 1888a5f02fc53703c70abca2b12048e896d8c136 f16aab0a3b715cd294d61a4bb7278ff24610598a --e

[Lldb-commits] [lldb] [LLDB] Added support for cross compiling with host python (PR #123735)

2025-01-21 Thread via lldb-commits
https://github.com/patryk4815 edited https://github.com/llvm/llvm-project/pull/123735 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][LLDB-DAP] Wire up DAP to listen to external progress events (PR #123826)

2025-01-21 Thread Jacob Lalonde via lldb-commits
Jlalond wrote: CC @youngdfb https://github.com/llvm/llvm-project/pull/123826 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][LLDB-DAP] Wire up DAP to listen to external progress events (PR #123826)

2025-01-21 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jacob Lalonde (Jlalond) Changes Recently I added SBProgress (#119052), and during that original commit I tested if the progress event was sent over LLDB-DAP, and it was. However upon the suggestion of @JDevlieghere and @labath we added an

[Lldb-commits] [lldb] [LLDB][LLDB-DAP] Wire up DAP to listen to external progress events (PR #123826)

2025-01-21 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond created https://github.com/llvm/llvm-project/pull/123826 Recently I added SBProgress (#119052), and during that original commit I tested if the progress event was sent over LLDB-DAP, and it was. However upon the suggestion of @JDevlieghere and @labath we added an ext

[Lldb-commits] [lldb] [lldb][test] Remove compiler version check and use regex (PR #123393)

2025-01-21 Thread Adrian Prantl via lldb-commits
adrian-prantl wrote: Generally speaking, it would be a lot more robust to not try and write a regex for the output, but individually check the summary/type for main node and children. https://github.com/llvm/llvm-project/pull/123393 ___ lldb-commits

[Lldb-commits] [lldb] [lldb][test] Remove compiler version check and use regex (PR #123393)

2025-01-21 Thread Adrian Prantl via lldb-commits
adrian-prantl wrote: ``` Got output: (std::vector, std::allocator > >) $0 = size=2 { [0] = size=3 { [0] = 1 [1] = 2 [2] = 3 } [1] = size=3 { [0] = 3 [1] = 2 [2] = 1 } } Expecting regex pattern: "\(std::vector(, std::allocator )* >\) \$0 = size=2 \{ \[0\] = siz

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang][NFCI] Simplify ParseChildParameters (PR #123790)

2025-01-21 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/123790 >From 505eb69920a291604378bc3ce0adb14ce8843138 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Tue, 21 Jan 2025 17:30:44 + Subject: [PATCH 1/3] [lldb][DWARFASTParserClang][NFCI] Simplify ParseChildPara

[Lldb-commits] [lldb] [lldb] Support format string in the prompt (PR #123430)

2025-01-21 Thread via lldb-commits
@@ -171,7 +171,45 @@ inline std::string FormatAnsiTerminalCodes(llvm::StringRef format, } return fmt; } + +inline std::string StripAnsiTerminalCodes(llvm::StringRef str) { + std::string stripped; + while (!str.empty()) { +llvm::StringRef left, right; + +std::tie(

[Lldb-commits] [lldb] [lldb] Add SymbolContext::GetAddress (PR #123340)

2025-01-21 Thread via lldb-commits
@@ -192,6 +192,33 @@ class SymbolContext { bool GetAddressRange(uint32_t scope, uint32_t range_idx, bool use_inline_block_range, AddressRange &range) const; + /// Get the address represented by this symbol context. + /// + /// The exact meaning of t

[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #112079)

2025-01-21 Thread Robert O'Callahan via lldb-commits
rocallahan wrote: > this seems like I'm being overly verbose and maybe a bit insulting, that's > not my intent No, this is pretty clear and helpful, thanks! I've updated the PR description. https://github.com/llvm/llvm-project/pull/112079 ___ lldb-co

[Lldb-commits] [lldb] [lldb] Add SymbolContext::GetAddress (PR #123340)

2025-01-21 Thread via lldb-commits
@@ -370,6 +370,31 @@ bool SymbolContext::GetAddressRange(uint32_t scope, uint32_t range_idx, return false; } +Address SymbolContext::GetAddress(uint32_t scope, + bool use_inline_block_range) const { + if ((scope & eSymbolContextLineEntry) &

[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #112079)

2025-01-21 Thread Robert O'Callahan via lldb-commits
https://github.com/rocallahan edited https://github.com/llvm/llvm-project/pull/112079 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang][NFCI] Simplify ParseChildParameters (PR #123790)

2025-01-21 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/123790 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang][NFCI] Simplify ParseChildParameters (PR #123790)

2025-01-21 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/123790 >From 505eb69920a291604378bc3ce0adb14ce8843138 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Tue, 21 Jan 2025 17:30:44 + Subject: [PATCH 1/2] [lldb][DWARFASTParserClang][NFCI] Simplify ParseChildPara

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang][NFCI] Simplify ParseChildParameters (PR #123790)

2025-01-21 Thread via lldb-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff aeffc01a7247cd95560b0c35b7a2c8d5a434b1f0 505eb69920a291604378bc3ce0adb14ce8843138 --e

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang][NFCI] Simplify ParseChildParameters (PR #123790)

2025-01-21 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Michael Buch (Michael137) Changes This patch refactors `ParseChildParameters` in a way which makes it (in my opinion) more readable, removing some redundant local variables in the process and reduces the scope of some variables. **Motivat

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang][NFCI] Simplify ParseChildParameters (PR #123790)

2025-01-21 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/123790 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang][NFCI] Simplify ParseChildParameters (PR #123790)

2025-01-21 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/123790 This patch refactors `ParseChildParameters` in a way which makes it (in my opinion) more readable, removing some redundant local variables in the process and reduces the scope of some variables. **Motivatio

[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #112079)

2025-01-21 Thread David Spickett via lldb-commits
DavidSpickett wrote: If the final message is in fact just the several commit messages, and that describes the changes well, then great! Doesn't have to be a new, unique thing. https://github.com/llvm/llvm-project/pull/112079 ___ lldb-commits mailing l

[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #112079)

2025-01-21 Thread David Spickett via lldb-commits
DavidSpickett wrote: This is a point of confusion, the LLVM project is set up to take the PR description, https://github.com/llvm/llvm-project/pull/112079#issue-2582537001 (the one you see on the page where this comment is also) as the commit message for the squashed commits. As opposed to us

[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #112079)

2025-01-21 Thread Robert O'Callahan via lldb-commits
rocallahan wrote: > Hmm.. could you update the patch description with the text you want the final > commit to contain. I see that at least the API names have changed during the > review, but maybe there are other things (?) The API names in the commit messages are correct. But I noticed that

[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #112079)

2025-01-21 Thread Robert O'Callahan via lldb-commits
https://github.com/rocallahan updated https://github.com/llvm/llvm-project/pull/112079 >From 1d587f12fccc8baebb3d502389c6e7e479fab9f7 Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Fri, 19 Jul 2024 22:46:42 +1200 Subject: [PATCH 1/3] [lldb] Implement basic support for reverse-continue

[Lldb-commits] [lldb] [lldb][test] Remove compiler version check and use regex (PR #123393)

2025-01-21 Thread Michael Buch via lldb-commits
Michael137 wrote: This is failing on the macOS matrix bots: https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/lldb-cmake-matrix which test with older compiler versions Looks like the regex might be incorrect. Mind fixing this? Or revert if it isn't an easy fix? https://github.com/llvm/ll

[Lldb-commits] [lldb] aeffc01 - [lldb][DWARFASTParserClang][NFC] Remove redundant local variable

2025-01-21 Thread Michael Buch via lldb-commits
Author: Michael Buch Date: 2025-01-21T14:33:37Z New Revision: aeffc01a7247cd95560b0c35b7a2c8d5a434b1f0 URL: https://github.com/llvm/llvm-project/commit/aeffc01a7247cd95560b0c35b7a2c8d5a434b1f0 DIFF: https://github.com/llvm/llvm-project/commit/aeffc01a7247cd95560b0c35b7a2c8d5a434b1f0.diff LOG:

[Lldb-commits] [lldb] [lldb-dap] Implement `runInTerminal` for Windows (PR #121269)

2025-01-21 Thread Omair Javaid via lldb-commits
https://github.com/omjavaid requested changes to this pull request. This should be able make lldb\test\API\tools\lldb-dap\runInTerminal\TestDAP_runInTerminal.py pass all tests. Please tests and remove the skipping decorators. https://github.com/llvm/llvm-project/pull/121269 ___

[Lldb-commits] [lldb] [lldb-dap] Implement `runInTerminal` for Windows (PR #121269)

2025-01-21 Thread Omair Javaid via lldb-commits
@@ -71,12 +74,14 @@ class FifoFileIO { /// \return /// An \a llvm::Error object indicating whether the data was consumed by /// a reader or not. - llvm::Error SendJSON( - const llvm::json::Value &json, - std::chrono::milliseconds timeout = std::chrono::

[Lldb-commits] [lldb] [lldb-dap] Implement `runInTerminal` for Windows (PR #121269)

2025-01-21 Thread Omair Javaid via lldb-commits
@@ -71,12 +74,14 @@ class FifoFileIO { /// \return /// An \a llvm::Error object indicating whether the data was consumed by /// a reader or not. - llvm::Error SendJSON( - const llvm::json::Value &json, - std::chrono::milliseconds timeout = std::chrono::

[Lldb-commits] [lldb] [lldb-dap] Implement `runInTerminal` for Windows (PR #121269)

2025-01-21 Thread Omair Javaid via lldb-commits
https://github.com/omjavaid edited https://github.com/llvm/llvm-project/pull/121269 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Added support for cross compiling with host python (PR #123735)

2025-01-21 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: None (patryk4815) Changes When the environment variables `_PYTHON_HOST_PLATFORM` and `_PYTHON_SYSCONFIGDATA_NAME` are set, the script `bindings/python/get-python-config.py` provides accurate data because the `sysconfig` module uses these

[Lldb-commits] [lldb] [LLDB] Added support for cross compiling with host python (PR #123735)

2025-01-21 Thread via lldb-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[Lldb-commits] [lldb] [LLDB] Added support for cross compiling with host python (PR #123735)

2025-01-21 Thread via lldb-commits
https://github.com/patryk4815 created https://github.com/llvm/llvm-project/pull/123735 When the environment variables `_PYTHON_HOST_PLATFORM` and `_PYTHON_SYSCONFIGDATA_NAME` are set, the script `bindings/python/get-python-config.py` provides accurate data because the `sysconfig` module uses

[Lldb-commits] [lldb] [lldb] Preparation for DWARF indexing speedup (PR #123732)

2025-01-21 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Pavel Labath (labath) Changes This is part of the work proposed in ;. One of the change is that the there will be a different structure for holding the partial indexe

[Lldb-commits] [lldb] [lldb] Preparation for DWARF indexing speedup (PR #123732)

2025-01-21 Thread Pavel Labath via lldb-commits
https://github.com/labath created https://github.com/llvm/llvm-project/pull/123732 This is part of the work proposed in . One of the change is that the there will be a different structure for holding the partial indexes a

[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #112079)

2025-01-21 Thread Pavel Labath via lldb-commits
labath wrote: Hmm.. could you update the patch description with the text you want the final commit to contain. I see that at least the API names have changed during the review, but maybe there are other things (?) https://github.com/llvm/llvm-project/pull/112079 ___

[Lldb-commits] [lldb] [lldb][AArch64] Add Guarded Control Stack registers (PR #123720)

2025-01-21 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: David Spickett (DavidSpickett) Changes The Guarded Control Stack extension implements a shadow stack and the Linux kernel provides access to 3 registers for it via ptrace. struct user_gcs { __u64 features_enabled; __u64 fea

[Lldb-commits] [lldb] [lldb][AArch64] Add Guarded Control Stack registers (PR #123720)

2025-01-21 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/123720 The Guarded Control Stack extension implements a shadow stack and the Linux kernel provides access to 3 registers for it via ptrace. struct user_gcs { __u64 features_enabled; __u64 feature

[Lldb-commits] [lldb] 5658bc4 - [lldb][Linux] Add Control Protection Fault signal (#122917)

2025-01-21 Thread via lldb-commits
Author: David Spickett Date: 2025-01-21T09:24:41Z New Revision: 5658bc4ae75497edc5ec7c934931c8681d33fac8 URL: https://github.com/llvm/llvm-project/commit/5658bc4ae75497edc5ec7c934931c8681d33fac8 DIFF: https://github.com/llvm/llvm-project/commit/5658bc4ae75497edc5ec7c934931c8681d33fac8.diff LOG

[Lldb-commits] [lldb] [lldb][Linux] Add Control Protection Fault signal (PR #122917)

2025-01-21 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett closed https://github.com/llvm/llvm-project/pull/122917 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits