[Lldb-commits] [lldb] Add the ability to define a Python based command that uses CommandObjectParsed (PR #70734)

2024-02-06 Thread David Spickett via lldb-commits
@@ -0,0 +1,313 @@ +""" +This module implements a couple of utility classes to make writing +lldb parsed commands more Pythonic. +The way to use it is to make a class for your command that inherits from ParsedCommandBase. +That will make an LLDBOVParser which you will use for your

[Lldb-commits] [lldb] Add the ability to define a Python based command that uses CommandObjectParsed (PR #70734)

2024-02-06 Thread David Spickett via lldb-commits
@@ -0,0 +1,313 @@ +""" +This module implements a couple of utility classes to make writing +lldb parsed commands more Pythonic. +The way to use it is to make a class for your command that inherits from ParsedCommandBase. +That will make an LLDBOVParser which you will use for your

[Lldb-commits] [lldb] Add the ability to define a Python based command that uses CommandObjectParsed (PR #70734)

2024-02-06 Thread David Spickett via lldb-commits
@@ -0,0 +1,313 @@ +""" +This module implements a couple of utility classes to make writing +lldb parsed commands more Pythonic. +The way to use it is to make a class for your command that inherits from ParsedCommandBase. +That will make an LLDBOVParser which you will use for your

[Lldb-commits] [lldb] Add the ability to define a Python based command that uses CommandObjectParsed (PR #70734)

2024-02-06 Thread David Spickett via lldb-commits
@@ -0,0 +1,313 @@ +""" +This module implements a couple of utility classes to make writing +lldb parsed commands more Pythonic. +The way to use it is to make a class for your command that inherits from ParsedCommandBase. +That will make an LLDBOVParser which you will use for your

[Lldb-commits] [lldb] Add the ability to define a Python based command that uses CommandObjectParsed (PR #70734)

2024-02-06 Thread David Spickett via lldb-commits
@@ -0,0 +1,313 @@ +""" +This module implements a couple of utility classes to make writing +lldb parsed commands more Pythonic. +The way to use it is to make a class for your command that inherits from ParsedCommandBase. +That will make an LLDBOVParser which you will use for your

[Lldb-commits] [compiler-rt] [flang] [libcxx] [llvm] [lldb] [clang] [mlir] [lld] [clang] Fix unexpected `-Wconstant-logical-operand` in C23 (PR #80724)

2024-02-06 Thread Mariya Podchishchaeva via lldb-commits
https://github.com/Fznamznon updated https://github.com/llvm/llvm-project/pull/80724 >From dd81e1aa3de2c38be91140b57d2c277a56e899bf Mon Sep 17 00:00:00 2001 From: "Podchishchaeva, Mariya" Date: Mon, 5 Feb 2024 10:43:56 -0800 Subject: [PATCH 1/2] [clang] Fix unexpected `-Wconstant-logical-operan

[Lldb-commits] [clang-tools-extra] [llvm] [lld] [lldb] [clang] [compiler-rt] [libcxxabi] [libc] [flang] [libcxx] Implement MCDCTVIdxBuilder and MCDCTestVectorBuilder (LLVM side) (PR #80676)

2024-02-06 Thread NAKAMURA Takumi via lldb-commits
https://github.com/chapuni updated https://github.com/llvm/llvm-project/pull/80676 >From d168e0cb85eb150caa7ab241f136c5a23f79ba38 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Mon, 5 Feb 2024 00:33:40 +0900 Subject: [PATCH 1/4] Implement MCDCTVIdxBuilder and MCDCTestVectorBuilder (LLVM

[Lldb-commits] [clang-tools-extra] [llvm] [lld] [lldb] [clang] [compiler-rt] [libcxxabi] [libc] [flang] [libcxx] Implement MCDCTVIdxBuilder and MCDCTestVectorBuilder (LLVM side) (PR #80676)

2024-02-06 Thread NAKAMURA Takumi via lldb-commits
chapuni wrote: I reworked to align the current implementation. https://github.com/llvm/llvm-project/pull/80676 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang-tools-extra] [llvm] [lld] [lldb] [clang] [compiler-rt] [libcxxabi] [libc] [flang] [libcxx] Implement MCDCTVIdxBuilder and MCDCTestVectorBuilder (LLVM side) (PR #80676)

2024-02-06 Thread NAKAMURA Takumi via lldb-commits
https://github.com/chapuni edited https://github.com/llvm/llvm-project/pull/80676 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang-tools-extra] [llvm] [lld] [lldb] [clang] [compiler-rt] [libcxxabi] [libc] [flang] [libcxx] Implement MCDCTVIdxBuilder (LLVM side) (PR #80676)

2024-02-06 Thread NAKAMURA Takumi via lldb-commits
https://github.com/chapuni edited https://github.com/llvm/llvm-project/pull/80676 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang-tools-extra] [llvm] [lld] [lldb] [clang] [compiler-rt] [libcxxabi] [libc] [flang] [libcxx] Implement MCDCTVIdxBuilder (LLVM side) (PR #80676)

2024-02-06 Thread NAKAMURA Takumi via lldb-commits
https://github.com/chapuni ready_for_review https://github.com/llvm/llvm-project/pull/80676 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [libc] [openmp] [clang-tools-extra] [compiler-rt] [mlir] [lldb] [lld] [llvm] [flang] [libcxx] [Driver] Report invalid target triple versions for all environment types. (PR #7865

2024-02-06 Thread Cheng Shao via lldb-commits
TerrorJack wrote: FYI this change breaks `wasi-sdk`/`wasi-libc` build with: ``` clang: error: version 'preview2' in target triple 'wasm32-unknown-wasi-preview2' is invalid ``` https://github.com/llvm/llvm-project/pull/78655 ___ lldb-commits mailing l

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread David Spickett via lldb-commits
@@ -200,8 +201,19 @@ lldb_private::UUID DynamicLoaderFreeBSDKernel::CheckForKernelImageAtAddress( if (header.e_type != llvm::ELF::ET_EXEC) return UUID(); - ModuleSP memory_module_sp = - process->ReadModuleFromMemory(FileSpec("temp_freebsd_kernel"), addr); + ArchS

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread David Spickett via lldb-commits
@@ -218,10 +230,16 @@ lldb_private::UUID DynamicLoaderFreeBSDKernel::CheckForKernelImageAtAddress( return UUID(); } - // In here, I should check is_kernel for memory_module_sp - // However, the ReadModuleFromMemory reads wrong section so that this check - // will fai

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread David Spickett via lldb-commits
@@ -153,9 +153,10 @@ addr_t DynamicLoaderFreeBSDKernel::FindKernelAtLoadAddress( } // Read ELF header from memry and return +template DavidSpickett wrote: Exactly why does this change? I don't see a need for it in this PR. https://github.com/llvm/llvm-proje

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread via lldb-commits
@@ -200,8 +201,19 @@ lldb_private::UUID DynamicLoaderFreeBSDKernel::CheckForKernelImageAtAddress( if (header.e_type != llvm::ELF::ET_EXEC) return UUID(); - ModuleSP memory_module_sp = - process->ReadModuleFromMemory(FileSpec("temp_freebsd_kernel"), addr); + ArchS

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread via lldb-commits
@@ -218,10 +230,16 @@ lldb_private::UUID DynamicLoaderFreeBSDKernel::CheckForKernelImageAtAddress( return UUID(); } - // In here, I should check is_kernel for memory_module_sp - // However, the ReadModuleFromMemory reads wrong section so that this check - // will fai

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread via lldb-commits
@@ -153,9 +153,10 @@ addr_t DynamicLoaderFreeBSDKernel::FindKernelAtLoadAddress( } // Read ELF header from memry and return +template aokblast wrote: The need is in here: ```c++ llvm::ELF::Elf64_Ehdr header; if (!ReadELFHeader(process, addr, header)) {

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread via lldb-commits
https://github.com/aokblast edited https://github.com/llvm/llvm-project/pull/80785 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread via lldb-commits
https://github.com/aokblast edited https://github.com/llvm/llvm-project/pull/80785 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread David Spickett via lldb-commits
@@ -200,8 +201,19 @@ lldb_private::UUID DynamicLoaderFreeBSDKernel::CheckForKernelImageAtAddress( if (header.e_type != llvm::ELF::ET_EXEC) return UUID(); - ModuleSP memory_module_sp = - process->ReadModuleFromMemory(FileSpec("temp_freebsd_kernel"), addr); + ArchS

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett edited https://github.com/llvm/llvm-project/pull/80785 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread David Spickett via lldb-commits
@@ -218,10 +230,16 @@ lldb_private::UUID DynamicLoaderFreeBSDKernel::CheckForKernelImageAtAddress( return UUID(); } - // In here, I should check is_kernel for memory_module_sp - // However, the ReadModuleFromMemory reads wrong section so that this check - // will fai

[Lldb-commits] [lldb] [clang] [clang-tools-extra] [llvm] [libc] [libcxx] [lld] [flang] [AMDGPU] Add pal metadata 3.0 support to callable pal funcs (PR #67104)

2024-02-06 Thread Matt Arsenault via lldb-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/67104 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [libcxx] [clang] [libc] [libcxxabi] [lldb] [clang-tools-extra] [lld] [flang] [llvm] [compiler-rt] Implement MCDCTVIdxBuilder (LLVM side) (PR #80676)

2024-02-06 Thread NAKAMURA Takumi via lldb-commits
https://github.com/chapuni updated https://github.com/llvm/llvm-project/pull/80676 >From d168e0cb85eb150caa7ab241f136c5a23f79ba38 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Mon, 5 Feb 2024 00:33:40 +0900 Subject: [PATCH 1/5] Implement MCDCTVIdxBuilder and MCDCTestVectorBuilder (LLVM

[Lldb-commits] [libcxx] [clang] [lldb] [lld] [mlir] [flang] [llvm] [compiler-rt] [clang] Fix unexpected `-Wconstant-logical-operand` in C23 (PR #80724)

2024-02-06 Thread Aaron Ballman via lldb-commits
https://github.com/AaronBallman approved this pull request. LGTM, thank you! https://github.com/llvm/llvm-project/pull/80724 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [flang] [lld] [mlir] [llvm] [libcxx] [lldb] [compiler-rt] [clang] [clang] Fix unexpected `-Wconstant-logical-operand` in C23 (PR #80724)

2024-02-06 Thread Mariya Podchishchaeva via lldb-commits
Fznamznon wrote: Windows failure in CI seems unrelated. https://github.com/llvm/llvm-project/pull/80724 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [libcxx] [clang] [lldb] [lld] [mlir] [flang] [llvm] [compiler-rt] [clang] Fix unexpected `-Wconstant-logical-operand` in C23 (PR #80724)

2024-02-06 Thread Mariya Podchishchaeva via lldb-commits
https://github.com/Fznamznon closed https://github.com/llvm/llvm-project/pull/80724 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread via lldb-commits
https://github.com/aokblast updated https://github.com/llvm/llvm-project/pull/80785 >From 5f9eac19a45cd4b71afe48643fc0cf8b4b4ab6be Mon Sep 17 00:00:00 2001 From: aokblast Date: Tue, 6 Feb 2024 10:18:34 +0800 Subject: [PATCH 1/2] [LLDB] Fetch UUID from note section in coredump --- .../Plugins/

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread via lldb-commits
aokblast wrote: All of the problem is fixed. However, FreeBSD doesn't load PT_NOTE segment originally and I add it yesterday in [this](https://reviews.freebsd.org/D43757) patch with this LLDB patch at the same time. Currently, FreeBSD phabricator has no any response yet. I think we should lan

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread David Spickett via lldb-commits
DavidSpickett wrote: Thanks, the logic is clearer now. Should this check be limited to only when a uuid is actually found? This would allow debugging of older FreeBSDs with a newer lldb. https://github.com/llvm/llvm-project/pull/80785 ___ lldb-comm

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread via lldb-commits
aokblast wrote: Oh, yes, you are right. I am just thinking the same things. XD https://github.com/llvm/llvm-project/pull/80785 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread via lldb-commits
https://github.com/aokblast updated https://github.com/llvm/llvm-project/pull/80785 >From 5f9eac19a45cd4b71afe48643fc0cf8b4b4ab6be Mon Sep 17 00:00:00 2001 From: aokblast Date: Tue, 6 Feb 2024 10:18:34 +0800 Subject: [PATCH 1/2] [LLDB] Fetch UUID from note section in coredump --- .../Plugins/

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread David Spickett via lldb-commits
@@ -218,10 +234,18 @@ lldb_private::UUID DynamicLoaderFreeBSDKernel::CheckForKernelImageAtAddress( return UUID(); } - // In here, I should check is_kernel for memory_module_sp - // However, the ReadModuleFromMemory reads wrong section so that this check - // will fai

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread via lldb-commits
https://github.com/aokblast updated https://github.com/llvm/llvm-project/pull/80785 >From 5f9eac19a45cd4b71afe48643fc0cf8b4b4ab6be Mon Sep 17 00:00:00 2001 From: aokblast Date: Tue, 6 Feb 2024 10:18:34 +0800 Subject: [PATCH 1/2] [LLDB] Fetch UUID from note section in coredump --- .../Plugins/

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread via lldb-commits
@@ -218,10 +234,18 @@ lldb_private::UUID DynamicLoaderFreeBSDKernel::CheckForKernelImageAtAddress( return UUID(); } - // In here, I should check is_kernel for memory_module_sp - // However, the ReadModuleFromMemory reads wrong section so that this check - // will fai

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread David Spickett via lldb-commits
@@ -218,10 +234,18 @@ lldb_private::UUID DynamicLoaderFreeBSDKernel::CheckForKernelImageAtAddress( return UUID(); } - // In here, I should check is_kernel for memory_module_sp - // However, the ReadModuleFromMemory reads wrong section so that this check - // will fai

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread via lldb-commits
https://github.com/aokblast updated https://github.com/llvm/llvm-project/pull/80785 >From 5f9eac19a45cd4b71afe48643fc0cf8b4b4ab6be Mon Sep 17 00:00:00 2001 From: aokblast Date: Tue, 6 Feb 2024 10:18:34 +0800 Subject: [PATCH 1/2] [LLDB] Fetch UUID from note section in coredump --- .../Plugins/

[Lldb-commits] [clang] [lld] [libcxx] [clang-tools-extra] [lldb] [mlir] [openmp] [libc] [llvm] [flang] [SLP]Add support for strided loads. (PR #80310)

2024-02-06 Thread Alexey Bataev via lldb-commits
https://github.com/alexey-bataev updated https://github.com/llvm/llvm-project/pull/80310 >From 92950afd39034c0184a3c807f8062e0053eead5c Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Thu, 1 Feb 2024 17:22:34 + Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=

[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

2024-02-06 Thread via lldb-commits
@@ -218,10 +234,18 @@ lldb_private::UUID DynamicLoaderFreeBSDKernel::CheckForKernelImageAtAddress( return UUID(); } - // In here, I should check is_kernel for memory_module_sp - // However, the ReadModuleFromMemory reads wrong section so that this check - // will fai

[Lldb-commits] [lldb] [lldb] Fix expressions that involve nested structs/classes/unions. (PR #77029)

2024-02-06 Thread Michael Buch via lldb-commits
Michael137 wrote: > So we never get a query again to find anything inside of this class. That > being said, I am not sure anything ever was doing another external AST lookup > in this class after we completed it. But if we are able to add debugger > specific support into the external AST virtu

[Lldb-commits] [lldb] [llvm] [lld] [clang-tools-extra] [clang] [flang] [libcxx] [libc] [AMDGPU] Add pal metadata 3.0 support to callable pal funcs (PR #67104)

2024-02-06 Thread David Stuttard via lldb-commits
https://github.com/dstutt closed https://github.com/llvm/llvm-project/pull/67104 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][unittest] Add call_once flag to initialize debugger (PR #80786)

2024-02-06 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova updated https://github.com/llvm/llvm-project/pull/80786 >From 0d56057bc9904b2079324b21b3625def7e15b6c2 Mon Sep 17 00:00:00 2001 From: Chelsea Cassanova Date: Mon, 5 Feb 2024 18:41:14 -0800 Subject: [PATCH] [lldb][unittest] Add call_once flag to initialize debugg

[Lldb-commits] [lldb] 3885483 - [lldb][unittest] Add call_once flag to initialize debugger (#80786)

2024-02-06 Thread via lldb-commits
Author: Chelsea Cassanova Date: 2024-02-06T08:17:23-08:00 New Revision: 388548359f5049b88a9738d8a9e67691503fbdef URL: https://github.com/llvm/llvm-project/commit/388548359f5049b88a9738d8a9e67691503fbdef DIFF: https://github.com/llvm/llvm-project/commit/388548359f5049b88a9738d8a9e67691503fbdef.d

[Lldb-commits] [lldb] [lldb][unittest] Add call_once flag to initialize debugger (PR #80786)

2024-02-06 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova closed https://github.com/llvm/llvm-project/pull/80786 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Reland "[lldb][progress][NFC] Add unit test for progress reports" (PR #80791)

2024-02-06 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova updated https://github.com/llvm/llvm-project/pull/80791 >From 16e468b938ade09c57fd1eb7ea3db7b673836cb0 Mon Sep 17 00:00:00 2001 From: Chelsea Cassanova Date: Mon, 5 Feb 2024 19:00:52 -0800 Subject: [PATCH] Reland "[lldb][progress][NFC] Add unit test for progress

[Lldb-commits] [lldb] 5690027 - [lldb][unittest] Use shared once_flag in DiagnosticEventTest (#80788)

2024-02-06 Thread via lldb-commits
Author: Chelsea Cassanova Date: 2024-02-06T08:36:00-08:00 New Revision: 56900278b578b4f7beedb8ac1e52c541d347f401 URL: https://github.com/llvm/llvm-project/commit/56900278b578b4f7beedb8ac1e52c541d347f401 DIFF: https://github.com/llvm/llvm-project/commit/56900278b578b4f7beedb8ac1e52c541d347f401.d

[Lldb-commits] [lldb] [lldb][unittest] Use shared once_flag in DiagnosticEventTest (PR #80788)

2024-02-06 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova closed https://github.com/llvm/llvm-project/pull/80788 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [clang-tools-extra] [libcxx] [libc] [compiler-rt] [llvm] [mlir] [flang] [lldb] [lld] fix vulnerabilities (PR #79697)

2024-02-06 Thread via lldb-commits
https://github.com/gitworkflows updated https://github.com/llvm/llvm-project/pull/79697 >From f7b4f61db6016a1a02d775efc1e921fac785e823 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 19 Jan 2024 07:12:22 + Subject: [PATCH 1/6] feat: upgrade vscode-languageclient from 8.0.2-next.5 to 9.0

[Lldb-commits] [clang] [clang-tools-extra] [libcxx] [libc] [compiler-rt] [llvm] [mlir] [flang] [lldb] [lld] fix vulnerabilities (PR #79697)

2024-02-06 Thread via lldb-commits
https://github.com/gitworkflows updated https://github.com/llvm/llvm-project/pull/79697 >From f7b4f61db6016a1a02d775efc1e921fac785e823 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 19 Jan 2024 07:12:22 + Subject: [PATCH 1/7] feat: upgrade vscode-languageclient from 8.0.2-next.5 to 9.0

[Lldb-commits] [clang-tools-extra] [lldb] [libc] [clang] [flang] [libcxx] [llvm] [compiler-rt] [mlir] [lld] fix vulnerabilities (PR #79697)

2024-02-06 Thread via lldb-commits
https://github.com/gitworkflows updated https://github.com/llvm/llvm-project/pull/79697 >From f7b4f61db6016a1a02d775efc1e921fac785e823 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 19 Jan 2024 07:12:22 + Subject: [PATCH 1/8] feat: upgrade vscode-languageclient from 8.0.2-next.5 to 9.0

[Lldb-commits] [clang-tools-extra] [lldb] [libc] [clang] [flang] [libcxx] [llvm] [compiler-rt] [mlir] [lld] fix vulnerabilities (PR #79697)

2024-02-06 Thread via lldb-commits
https://github.com/gitworkflows updated https://github.com/llvm/llvm-project/pull/79697 >From f7b4f61db6016a1a02d775efc1e921fac785e823 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 19 Jan 2024 07:12:22 + Subject: [PATCH 1/9] feat: upgrade vscode-languageclient from 8.0.2-next.5 to 9.0

[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

2024-02-06 Thread via lldb-commits
https://github.com/kusmour updated https://github.com/llvm/llvm-project/pull/80745 >From 4e06a3ebcf12de413f0906b1f4f6aaca40bedcff Mon Sep 17 00:00:00 2001 From: Wanyi Ye Date: Fri, 2 Feb 2024 15:42:01 -0800 Subject: [PATCH 1/4] Support statistics dump summary only mode Summary: Added a new --s

[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

2024-02-06 Thread via lldb-commits
https://github.com/kusmour updated https://github.com/llvm/llvm-project/pull/80745 >From be36537cfc647735a823b685ab89ca68d1ae9803 Mon Sep 17 00:00:00 2001 From: Wanyi Ye Date: Fri, 2 Feb 2024 15:42:01 -0800 Subject: [PATCH 1/4] Support statistics dump summary only mode Summary: Added a new --s

[Lldb-commits] [libcxx] [compiler-rt] [llvm] [libc] [lldb] [lld] [flang] [mlir] [clang] [mlir][sparse] Implement parsing n out of m (PR #79935)

2024-02-06 Thread Yinying Li via lldb-commits
https://github.com/yinying-lisa-li updated https://github.com/llvm/llvm-project/pull/79935 >From b4610de041d1fd9c362a4155ee50325c738eebda Mon Sep 17 00:00:00 2001 From: Yinying Li Date: Tue, 30 Jan 2024 01:01:52 + Subject: [PATCH 01/13] [mlir][sparse] Expand LevelType to 64 bit and implemen

[Lldb-commits] [lldb] [lldb] Expand background symbol lookup (PR #80890)

2024-02-06 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/80890 LLDB has a setting (symbols.enable-background-lookup) that calls dsymForUUID on a background thread for images as they appear in the current backtrace. Originally, the laziness of only looking up symbols fo

[Lldb-commits] [lldb] [lldb] Expand background symbol lookup (PR #80890)

2024-02-06 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jonas Devlieghere (JDevlieghere) Changes LLDB has a setting (symbols.enable-background-lookup) that calls dsymForUUID on a background thread for images as they appear in the current backtrace. Originally, the laziness of only looking up sy

[Lldb-commits] [lldb] Fix a crasher when using the public API. (PR #80508)

2024-02-06 Thread via lldb-commits
https://github.com/kusmour requested changes to this pull request. revert whitespace changes and we're good to go! https://github.com/llvm/llvm-project/pull/80508 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/

[Lldb-commits] [lldb] Reland "[lldb][progress][NFC] Add unit test for progress reports" (PR #80791)

2024-02-06 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere approved this pull request. https://github.com/llvm/llvm-project/pull/80791 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Reland "[lldb][progress][NFC] Add unit test for progress reports" (PR #80791)

2024-02-06 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova updated https://github.com/llvm/llvm-project/pull/80791 >From 4760c7ca48790f5f87de8e6ba2a5a3eea002 Mon Sep 17 00:00:00 2001 From: Chelsea Cassanova Date: Mon, 5 Feb 2024 19:00:52 -0800 Subject: [PATCH] Reland "[lldb][progress][NFC] Add unit test for progress

[Lldb-commits] [lldb] a8ab830 - Reland "[lldb][progress][NFC] Add unit test for progress reports" (#80791)

2024-02-06 Thread via lldb-commits
Author: Chelsea Cassanova Date: 2024-02-06T10:56:41-08:00 New Revision: a8ab8306069e8e53b5148ceec7624d7d36ffb459 URL: https://github.com/llvm/llvm-project/commit/a8ab8306069e8e53b5148ceec7624d7d36ffb459 DIFF: https://github.com/llvm/llvm-project/commit/a8ab8306069e8e53b5148ceec7624d7d36ffb459.d

[Lldb-commits] [lldb] Reland "[lldb][progress][NFC] Add unit test for progress reports" (PR #80791)

2024-02-06 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova closed https://github.com/llvm/llvm-project/pull/80791 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Expand background symbol lookup (PR #80890)

2024-02-06 Thread Alex Langford via lldb-commits
@@ -5,10 +5,11 @@ let Definition = "modulelist" in { Global, DefaultTrue, Desc<"Control the use of external tools and repositories to locate symbol files. Directories listed in target.debug-file-search-paths and directory of the executable are always checked first

[Lldb-commits] [lldb] [lld] [libc] [llvm] [compiler-rt] [clang] [flang] [Driver] Check the environment version except wasm case. (PR #80783)

2024-02-06 Thread via lldb-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/80783 >From 84506beecc20a064a5c895cf5c04135118da6606 Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Tue, 6 Feb 2024 01:58:58 + Subject: [PATCH] [Driver] Check the environment version except wasm case. --- cl

[Lldb-commits] [lldb] [lld] [libc] [llvm] [compiler-rt] [clang] [flang] [Driver] Check the environment version except wasm case. (PR #80783)

2024-02-06 Thread via lldb-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/80783 >From 84506beecc20a064a5c895cf5c04135118da6606 Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Tue, 6 Feb 2024 01:58:58 + Subject: [PATCH 1/2] [Driver] Check the environment version except wasm case. ---

[Lldb-commits] [lld] [clang] [libc] [flang] [compiler-rt] [llvm] [lldb] [Driver] Check the environment version except wasm case. (PR #80783)

2024-02-06 Thread via lldb-commits
ZijunZhaoCCK wrote: > Add a test? Done. Add several tests. https://github.com/llvm/llvm-project/pull/80783 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

2024-02-06 Thread via lldb-commits
https://github.com/kusmour updated https://github.com/llvm/llvm-project/pull/80745 >From c79b3daa3e2a5ed2a571d93871bc527b651c0403 Mon Sep 17 00:00:00 2001 From: Wanyi Ye Date: Fri, 2 Feb 2024 15:42:01 -0800 Subject: [PATCH 1/4] Support statistics dump summary only mode Summary: Added a new --s

[Lldb-commits] [lldb] Fix a crasher when using the public API. (PR #80508)

2024-02-06 Thread Greg Clayton via lldb-commits
https://github.com/clayborg updated https://github.com/llvm/llvm-project/pull/80508 >From c416b6f4c0a00684057947782413b66af4c197f3 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 2 Feb 2024 15:30:40 -0800 Subject: [PATCH] Fix a crasher when using the public API. A user found a crash whe

[Lldb-commits] [lldb] [lldb] Expand background symbol lookup (PR #80890)

2024-02-06 Thread Jonas Devlieghere via lldb-commits
@@ -5,10 +5,11 @@ let Definition = "modulelist" in { Global, DefaultTrue, Desc<"Control the use of external tools and repositories to locate symbol files. Directories listed in target.debug-file-search-paths and directory of the executable are always checked first

[Lldb-commits] [lldb] Fix a crasher when using the public API. (PR #80508)

2024-02-06 Thread Greg Clayton via lldb-commits
https://github.com/clayborg updated https://github.com/llvm/llvm-project/pull/80508 >From c416b6f4c0a00684057947782413b66af4c197f3 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 2 Feb 2024 15:30:40 -0800 Subject: [PATCH 1/2] Fix a crasher when using the public API. A user found a crash

[Lldb-commits] [lldb] Fix a crasher when using the public API. (PR #80508)

2024-02-06 Thread Greg Clayton via lldb-commits
https://github.com/clayborg updated https://github.com/llvm/llvm-project/pull/80508 >From c416b6f4c0a00684057947782413b66af4c197f3 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 2 Feb 2024 15:30:40 -0800 Subject: [PATCH 1/3] Fix a crasher when using the public API. A user found a crash

[Lldb-commits] [lldb] Fix a crasher when using the public API. (PR #80508)

2024-02-06 Thread Greg Clayton via lldb-commits
https://github.com/clayborg updated https://github.com/llvm/llvm-project/pull/80508 >From c416b6f4c0a00684057947782413b66af4c197f3 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 2 Feb 2024 15:30:40 -0800 Subject: [PATCH 1/4] Fix a crasher when using the public API. A user found a crash

[Lldb-commits] [lldb] Add the ability to define a Python based command that uses CommandObjectParsed (PR #70734)

2024-02-06 Thread via lldb-commits
@@ -0,0 +1,313 @@ +""" +This module implements a couple of utility classes to make writing +lldb parsed commands more Pythonic. +The way to use it is to make a class for your command that inherits from ParsedCommandBase. +That will make an LLDBOVParser which you will use for your

[Lldb-commits] [lldb] Add the ability to define a Python based command that uses CommandObjectParsed (PR #70734)

2024-02-06 Thread via lldb-commits
@@ -0,0 +1,313 @@ +""" +This module implements a couple of utility classes to make writing +lldb parsed commands more Pythonic. +The way to use it is to make a class for your command that inherits from ParsedCommandBase. +That will make an LLDBOVParser which you will use for your

[Lldb-commits] [lldb] [llvm] [lldb-dap][NFC] Add Breakpoint struct to share common logic. (PR #80753)

2024-02-06 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu updated https://github.com/llvm/llvm-project/pull/80753 >From c4b767909a9ffc2a3015dc9021e4c265da0d877d Mon Sep 17 00:00:00 2001 From: Zequan Wu Date: Mon, 5 Feb 2024 17:26:48 -0500 Subject: [PATCH 1/2] [lldb-dap][NFC] Add Breakpoint struct to share common logic. --

[Lldb-commits] [lldb] [lldb] Expand background symbol lookup (PR #80890)

2024-02-06 Thread Alex Langford via lldb-commits
@@ -5,10 +5,11 @@ let Definition = "modulelist" in { Global, DefaultTrue, Desc<"Control the use of external tools and repositories to locate symbol files. Directories listed in target.debug-file-search-paths and directory of the executable are always checked first

[Lldb-commits] [lldb] 1dd9162 - [lldb] Fix a crasher when using the public API. (#80508)

2024-02-06 Thread via lldb-commits
Author: Greg Clayton Date: 2024-02-06T13:53:29-08:00 New Revision: 1dd9162b95d29367635f32c7be24779b1ddaa7e5 URL: https://github.com/llvm/llvm-project/commit/1dd9162b95d29367635f32c7be24779b1ddaa7e5 DIFF: https://github.com/llvm/llvm-project/commit/1dd9162b95d29367635f32c7be24779b1ddaa7e5.diff

[Lldb-commits] [lldb] Fix a crasher when using the public API. (PR #80508)

2024-02-06 Thread Greg Clayton via lldb-commits
https://github.com/clayborg closed https://github.com/llvm/llvm-project/pull/80508 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Add the ability to define a Python based command that uses CommandObjectParsed (PR #70734)

2024-02-06 Thread via lldb-commits
@@ -0,0 +1,313 @@ +""" +This module implements a couple of utility classes to make writing +lldb parsed commands more Pythonic. +The way to use it is to make a class for your command that inherits from ParsedCommandBase. +That will make an LLDBOVParser which you will use for your

[Lldb-commits] [lldb] Add the ability to define a Python based command that uses CommandObjectParsed (PR #70734)

2024-02-06 Thread via lldb-commits
@@ -0,0 +1,313 @@ +""" +This module implements a couple of utility classes to make writing +lldb parsed commands more Pythonic. +The way to use it is to make a class for your command that inherits from ParsedCommandBase. +That will make an LLDBOVParser which you will use for your

[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

2024-02-06 Thread via lldb-commits
https://github.com/kusmour updated https://github.com/llvm/llvm-project/pull/80745 >From e5902abd4cd401f5e6a132d1fa5d0b2197512494 Mon Sep 17 00:00:00 2001 From: Wanyi Ye Date: Fri, 2 Feb 2024 15:42:01 -0800 Subject: [PATCH 1/5] Support statistics dump summary only mode Summary: Added a new --s

[Lldb-commits] [lldb] Add the ability to define a Python based command that uses CommandObjectParsed (PR #70734)

2024-02-06 Thread via lldb-commits
@@ -0,0 +1,313 @@ +""" +This module implements a couple of utility classes to make writing +lldb parsed commands more Pythonic. +The way to use it is to make a class for your command that inherits from ParsedCommandBase. +That will make an LLDBOVParser which you will use for your

[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

2024-02-06 Thread via lldb-commits
https://github.com/kusmour updated https://github.com/llvm/llvm-project/pull/80745 >From e5902abd4cd401f5e6a132d1fa5d0b2197512494 Mon Sep 17 00:00:00 2001 From: Wanyi Ye Date: Fri, 2 Feb 2024 15:42:01 -0800 Subject: [PATCH 1/5] Support statistics dump summary only mode Summary: Added a new --s

[Lldb-commits] [lldb] Add the ability to define a Python based command that uses CommandObjectParsed (PR #70734)

2024-02-06 Thread via lldb-commits
@@ -0,0 +1,313 @@ +""" +This module implements a couple of utility classes to make writing +lldb parsed commands more Pythonic. +The way to use it is to make a class for your command that inherits from ParsedCommandBase. +That will make an LLDBOVParser which you will use for your

[Lldb-commits] [lldb] Add the ability to define a Python based command that uses CommandObjectParsed (PR #70734)

2024-02-06 Thread via lldb-commits
@@ -831,6 +831,37 @@ bool lldb_private::python::SWIGBridge::LLDBSwigPythonCallCommandObject( return true; } +bool lldb_private::python::SWIGBridge::LLDBSwigPythonCallParsedCommandObject( +PyObject *implementor, lldb::DebuggerSP debugger, lldb_private::StructuredDataImp

[Lldb-commits] [lldb] Add the ability to define a Python based command that uses CommandObjectParsed (PR #70734)

2024-02-06 Thread via lldb-commits
@@ -0,0 +1,315 @@ +""" +This module implements a couple of utility classes to make writing +lldb parsed commands more Pythonic. +The way to use it is to make a class for you command that inherits from ParsedCommandBase. jimingham wrote: I converted the lldb/exam

[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

2024-02-06 Thread via lldb-commits
@@ -2687,7 +2687,7 @@ uint64_t SymbolFileDWARF::GetDebugInfoSize() { if (cu == nullptr) continue; -SymbolFileDWARFDwo *dwo = cu->GetDwoSymbolFile(); +SymbolFileDWARFDwo *dwo = cu->GetDwoSymbolFile(false); kusmour wrote: In that case I will l

[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

2024-02-06 Thread via lldb-commits
https://github.com/kusmour updated https://github.com/llvm/llvm-project/pull/80745 >From e5902abd4cd401f5e6a132d1fa5d0b2197512494 Mon Sep 17 00:00:00 2001 From: Wanyi Ye Date: Fri, 2 Feb 2024 15:42:01 -0800 Subject: [PATCH 1/4] Support statistics dump summary only mode Summary: Added a new --s

[Lldb-commits] [lldb] [lldb] Expand background symbol lookup (PR #80890)

2024-02-06 Thread Jason Molenda via lldb-commits
@@ -5,10 +5,11 @@ let Definition = "modulelist" in { Global, DefaultTrue, Desc<"Control the use of external tools and repositories to locate symbol files. Directories listed in target.debug-file-search-paths and directory of the executable are always checked first

[Lldb-commits] [lldb] [lldb] Expand background symbol lookup (PR #80890)

2024-02-06 Thread Jonas Devlieghere via lldb-commits
@@ -5,10 +5,11 @@ let Definition = "modulelist" in { Global, DefaultTrue, Desc<"Control the use of external tools and repositories to locate symbol files. Directories listed in target.debug-file-search-paths and directory of the executable are always checked first

[Lldb-commits] [lldb] [lldb] Expand background symbol lookup (PR #80890)

2024-02-06 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere edited https://github.com/llvm/llvm-project/pull/80890 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Expand background symbol lookup (PR #80890)

2024-02-06 Thread Jason Molenda via lldb-commits
jasonmolenda wrote: I like this change, this will be a very handy capability for people debugging corefiles & live sessions on remote computers when they have a mechanism to find the binaries and/or debug info for those processes, without needing to download all of them. One change I would als

[Lldb-commits] [lldb] [lldb] Expand background symbol lookup (PR #80890)

2024-02-06 Thread Jason Molenda via lldb-commits
@@ -5,10 +5,11 @@ let Definition = "modulelist" in { Global, DefaultTrue, Desc<"Control the use of external tools and repositories to locate symbol files. Directories listed in target.debug-file-search-paths and directory of the executable are always checked first

[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

2024-02-06 Thread Greg Clayton via lldb-commits
https://github.com/clayborg approved this pull request. A few nits you can fix if you want to. https://github.com/llvm/llvm-project/pull/80745 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lld

[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

2024-02-06 Thread Greg Clayton via lldb-commits
https://github.com/clayborg edited https://github.com/llvm/llvm-project/pull/80745 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

2024-02-06 Thread Greg Clayton via lldb-commits
@@ -83,13 +86,17 @@ class CommandObjectStatsDump : public CommandObjectParsed { void OptionParsingStarting(ExecutionContext *execution_context) override { m_all_targets = false; + m_stats_options = StatisticsOptions(); } llvm::ArrayRef GetDefinitions

[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

2024-02-06 Thread Greg Clayton via lldb-commits
@@ -100,60 +101,94 @@ llvm::json::Value ConstStringStats::ToJSON() const { return obj; } -json::Value TargetStats::ToJSON(Target &target) { - CollectStats(target); +json::Value +TargetStats::ToJSON(Target &target, +const lldb_private::StatisticsOptions &

[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

2024-02-06 Thread Greg Clayton via lldb-commits
@@ -184,8 +219,12 @@ void TargetStats::IncreaseSourceMapDeduceCount() { bool DebuggerStats::g_collecting_stats = false; -llvm::json::Value DebuggerStats::ReportStatistics(Debugger &debugger, - Target *target) { +llvm::json::Val

[Lldb-commits] [lldb] [lldb] Expand background symbol lookup (PR #80890)

2024-02-06 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/80890 >From d0696a22e07678e8b7a0dd78df0c873aa89deacb Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 6 Feb 2024 16:25:37 -0800 Subject: [PATCH] [lldb] Expand background symbol lookup LLDB has a settin

[Lldb-commits] [lldb] [lldb] Expand background symbol lookup (PR #80890)

2024-02-06 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere edited https://github.com/llvm/llvm-project/pull/80890 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

  1   2   >