[Lldb-commits] [lldb] Fix non-deterministic failure in ```TestDAP_attach.py``` and improve error message handling in ```lldbdap_testcase.py``` (PR #154632)

2025-08-20 Thread Piyush Jaiswal via lldb-commits
https://github.com/piyushjaiswal98 updated https://github.com/llvm/llvm-project/pull/154632 >From c40952ce7096505455ade9ad8b1598928b40118f Mon Sep 17 00:00:00 2001 From: Piyush Jaiswal Date: Wed, 20 Aug 2025 14:41:29 -0700 Subject: [PATCH 1/2] Fix non-deterministic failure in --- .../test/too

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-20 Thread via lldb-commits
https://github.com/Sirraide commented: Reusing the existing diagnostics machinery for this sgtm. https://github.com/llvm/llvm-project/pull/154618 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-20 Thread via lldb-commits
@@ -1813,6 +1813,7 @@ void ScalarExprEmitter::EmitBinOpCheck( SanitizerHandler Check; SmallVector StaticData; SmallVector DynamicData; + std::unique_ptr RTDB = nullptr; Sirraide wrote: Actually, this is in a function—I thought it was at class scope for

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-20 Thread via lldb-commits
@@ -33,6 +33,7 @@ #include "clang/AST/StmtVisitor.h" #include "clang/Basic/Builtins.h" #include "clang/Basic/CodeGenOptions.h" +#include "clang/Basic/DiagnosticParse.h" Sirraide wrote: I don’t think we should be including `DiagnosticParse.h` in codegen. https

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-20 Thread via lldb-commits
@@ -1824,6 +1825,12 @@ class CodeGenModule : public CodeGenTypeCache { return PAlign; } + /// Helper function to construct a RuntimeTrapDiagnosticBuilder + [[nodiscard]] std::unique_ptr + RuntimeDiag(unsigned DiagID) { +return std::make_unique(&getDiags(), DiagID)

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-20 Thread via lldb-commits
@@ -1813,6 +1813,7 @@ void ScalarExprEmitter::EmitBinOpCheck( SanitizerHandler Check; SmallVector StaticData; SmallVector DynamicData; + std::unique_ptr RTDB = nullptr; Sirraide wrote: I don’t think this is the right place to cache and reuse these. If w

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-20 Thread via lldb-commits
@@ -0,0 +1,26 @@ +//==--- DiagnosticCodeGenKinds.td - CodeGen Diagnostics ---===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-20 Thread via lldb-commits
@@ -30,6 +30,7 @@ def CLASS_REMARK: DiagClass; def CLASS_WARNING : DiagClass; def CLASS_EXTENSION : DiagClass; def CLASS_ERROR : DiagClass; +def CLASS_TRAP : DiagClass; Sirraide wrote: Hmm, I wonder if we really need a new diagnostic class for t

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-20 Thread via lldb-commits
@@ -1534,6 +1535,72 @@ inline DiagnosticBuilder DiagnosticsEngine::Report(unsigned DiagID) { return Report(SourceLocation(), DiagID); } +//===--===// +// RuntimeTrapDiagnosticBuilder +//===-

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-20 Thread via lldb-commits
@@ -30,4 +30,5 @@ #include "clang/Basic/DiagnosticAnalysisKinds.inc" #include "clang/Basic/DiagnosticRefactoringKinds.inc" #include "clang/Basic/DiagnosticInstallAPIKinds.inc" +#include "clang/Basic/DiagnosticCodeGenKinds.inc" Sirraide wrote: I don’t really li

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-20 Thread via lldb-commits
@@ -47,6 +47,7 @@ namespace clang { DIAG_SIZE_ANALYSIS = 100, DIAG_SIZE_REFACTORING = 1000, DIAG_SIZE_INSTALLAPI= 100, + DIAG_SIZE_CODEGEN = 10, Sirraide wrote: Maybe preallocate more than 10 so we don’t have to bump t

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-20 Thread via lldb-commits
@@ -3721,7 +3722,8 @@ static void emitCheckHandlerCall(CodeGenFunction &CGF, void CodeGenFunction::EmitCheck( ArrayRef> Checked, SanitizerHandler CheckHandler, ArrayRef StaticArgs, -ArrayRef DynamicArgs) { +ArrayRef DynamicArgs, +std::unique_ptr RTDB) { ---

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-20 Thread via lldb-commits
https://github.com/Sirraide edited https://github.com/llvm/llvm-project/pull/154618 ___ 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] [compiler-rt] [libcxx] [libcxxabi] [libunwind] [lldb] [llvm] [mlir] [openmp] [NFC][CMake] quote ${CMAKE_SYSTEM_NAME} consistently (PR #154537)

2025-08-20 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-s390x-linux` running on `systemz-1` while building `clang-tools-extra,clang,compiler-rt,libcxx,libcxxabi,libunwind,lldb,llvm,mlir,offload,openmp,third-party` at step 5 "ninja check 1". Full details are available at: ht

[Lldb-commits] [lldb] [lldb/API] Add setters to SBStructuredData (PR #154445)

2025-08-20 Thread Med Ismail Bennani via lldb-commits
https://github.com/medismailben updated https://github.com/llvm/llvm-project/pull/154445 >From 65b7e3a056f7b3c76217364d700e577f029e4190 Mon Sep 17 00:00:00 2001 From: Med Ismail Bennani Date: Wed, 20 Aug 2025 16:59:25 -0700 Subject: [PATCH] [lldb/API] Add setters to SBStructuredData This patch

[Lldb-commits] [lldb] [lldb] Tweak check for CommandLineTools in ParseXcodeSDK (PR #154574)

2025-08-20 Thread Dave Lee via lldb-commits
https://github.com/kastiglione updated https://github.com/llvm/llvm-project/pull/154574 >From 13264919452f446dd13f5f8a3e3ed207e84bf96b Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Wed, 20 Aug 2025 09:41:26 -0700 Subject: [PATCH 1/2] [lldb] Tweak check for CommandLineTools in ParseXcodeSDK ---

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [lldb] Add missing case statements for SubstBuiltinTemplatePack (PR #154606)

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

[Lldb-commits] [lldb] 55551da - [lldb] Add missing case statements for SubstBuiltinTemplatePack (#154606)

2025-08-20 Thread via lldb-commits
Author: Kazu Hirata Date: 2025-08-20T14:53:28-07:00 New Revision: 1da200bec5b92653245d742032bf934b1926 URL: https://github.com/llvm/llvm-project/commit/1da200bec5b92653245d742032bf934b1926 DIFF: https://github.com/llvm/llvm-project/commit/1da200bec5b92653245d742032bf934b1926.diff L

[Lldb-commits] [lldb] [lldb-dap] Add module symbol table viewer to VS Code extension #140626 (PR #153836)

2025-08-20 Thread Ely Ronnen via lldb-commits
eronnen wrote: @JDevlieghere Added public functions to `SBSymbol` to convert from and to lldb::SymbolType https://github.com/llvm/llvm-project/pull/153836 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman

[Lldb-commits] [lldb] [lldb-dap] Add module symbol table viewer to VS Code extension #140626 (PR #153836)

2025-08-20 Thread Ely Ronnen via lldb-commits
@@ -1,9 +1,110 @@ #include "Protocol/DAPTypes.h" +#include "lldb/lldb-enumerations.h" using namespace llvm; namespace lldb_dap::protocol { +static std::string SymbolTypeToString(lldb::SymbolType symbol_type) { eronnen wrote: :100: https://github.com/ll

[Lldb-commits] [lldb] [lldb-dap] Add module symbol table viewer to VS Code extension #140626 (PR #153836)

2025-08-20 Thread Ely Ronnen via lldb-commits
@@ -1,9 +1,110 @@ #include "Protocol/DAPTypes.h" +#include "lldb/lldb-enumerations.h" using namespace llvm; namespace lldb_dap::protocol { +static std::string SymbolTypeToString(lldb::SymbolType symbol_type) { + switch (symbol_type) { + case lldb::eSymbolTypeInvalid: +

[Lldb-commits] [lldb] [lldb] Tweak check for CommandLineTools in ParseXcodeSDK (PR #154574)

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

[Lldb-commits] [lldb] [lldb] Tweak check for CommandLineTools in ParseXcodeSDK (PR #154574)

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

[Lldb-commits] [lldb] [lldb] Tweak check for CommandLineTools in ParseXcodeSDK (PR #154574)

2025-08-20 Thread Michael Buch via lldb-commits
@@ -998,12 +999,12 @@ XcodeSDK SymbolFileDWARF::ParseXcodeSDK(CompileUnit &comp_unit) { const char *sdk = cu_die.GetAttributeValueAsString(DW_AT_APPLE_sdk, nullptr); if (!sdk) return {}; - std::string sysroot = + llvm::StringRef sysroot = Michael137

[Lldb-commits] [lldb] [lldb/API] Add setters to SBStructuredData (PR #154445)

2025-08-20 Thread Alex Langford via lldb-commits
@@ -81,6 +81,39 @@ class StructuredDataImpl { void SetObjectSP(const StructuredData::ObjectSP &obj) { m_data_sp = obj; } + void SetValueForKey(const char *key, + const StructuredData::ObjectSP &value) const { +if (m_data_sp) { + auto dict = m_

[Lldb-commits] [lldb] [lldb] Improve error message in ResolveSDKPathFromDebugInfo (NFC) (PR #154607)

2025-08-20 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dave Lee (kastiglione) Changes While debugging, I saw a log line of: > Failed to resolve SDK path: Error while searching for SDK (XcodeSDK ''): Unrecognized SDK type: Looking into how this might happen, it seems `ResolveSDKPathFromDebugI

[Lldb-commits] [lldb] [lldb] Improve error message in ResolveSDKPathFromDebugInfo (NFC) (PR #154607)

2025-08-20 Thread Dave Lee via lldb-commits
https://github.com/kastiglione edited https://github.com/llvm/llvm-project/pull/154607 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Improve error message in ResolveSDKPathFromDebugInfo (NFC) (PR #154607)

2025-08-20 Thread Dave Lee via lldb-commits
@@ -1039,7 +1039,12 @@ ResolveSDKPathFromDebugInfo(lldb_private::Target *target) { SymbolFile *sym_file = exe_module_sp->GetSymbolFile(); if (!sym_file) -return llvm::createStringError("Failed to get symbol file from module"); +return llvm::createStringError("Fail

[Lldb-commits] [lldb] [lldb] Improve error message in ResolveSDKPathFromDebugInfo (NFC) (PR #154607)

2025-08-20 Thread Dave Lee via lldb-commits
https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/154607 While debugging, I saw a log line of: > Failed to resolve SDK path: Error while searching for SDK (XcodeSDK ''): > Unrecognized SDK type: Looking into how this might happen, it seems `ResolveSDKPathFromDe

[Lldb-commits] [lldb] [lldb] Fix source line annotations for libsanitizers traces (PR #154247)

2025-08-20 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere approved this pull request. LGTM! https://github.com/llvm/llvm-project/pull/154247 ___ 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] [compiler-rt] [libcxx] [libcxxabi] [libunwind] [lldb] [llvm] [mlir] [openmp] [NFC][CMake] quote ${CMAKE_SYSTEM_NAME} consistently (PR #154537)

2025-08-20 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `lldb-aarch64-windows` running on `linaro-armv8-windows-msvc-05` while building `clang-tools-extra,clang,compiler-rt,libcxx,libcxxabi,libunwind,lldb,llvm,mlir,offload,openmp,third-party` at step 6 "test". Full details are avai

[Lldb-commits] [lldb] [lldb/API] Add setters to SBStructuredData (PR #154445)

2025-08-20 Thread via lldb-commits
@@ -109,6 +109,22 @@ class SBStructuredData { /// Return the generic pointer if this data structure is a generic type. lldb::SBScriptObject GetGenericValue() const; + void SetValueForKey(const char *key, SBStructuredData &value) const; jimingham wrote: I

[Lldb-commits] [lldb] [lldb/API] Add setters to SBStructuredData (PR #154445)

2025-08-20 Thread Med Ismail Bennani via lldb-commits
@@ -109,6 +109,22 @@ class SBStructuredData { /// Return the generic pointer if this data structure is a generic type. lldb::SBScriptObject GetGenericValue() const; + void SetValueForKey(const char *key, SBStructuredData &value) const; medismailben wrote:

[Lldb-commits] [lldb] [lldb] Fix source line annotations for libsanitizers traces (PR #154247)

2025-08-20 Thread Julian Lettner via lldb-commits
https://github.com/yln updated https://github.com/llvm/llvm-project/pull/154247 >From 51480efc86e24eb79a4d95fc79da282828aa1a5f Mon Sep 17 00:00:00 2001 From: Julian Lettner Date: Mon, 18 Aug 2025 12:37:24 -0700 Subject: [PATCH 1/3] [lldb] Introduce HistoryPCType enum Introduce and adopt `Histor

[Lldb-commits] [libcxx] [lldb] [libcxx] adds size-based `__split_buffer` representation to unstable ABI (PR #139632)

2025-08-20 Thread Christopher Di Bella via lldb-commits
https://github.com/cjdb edited https://github.com/llvm/llvm-project/pull/139632 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [libcxx] [lldb] [libcxx] adds size-based `__split_buffer` representation to unstable ABI (PR #139632)

2025-08-20 Thread Christopher Di Bella via lldb-commits
https://github.com/cjdb edited https://github.com/llvm/llvm-project/pull/139632 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Re-land refactor of DebugCommunication. (PR #147787)

2025-08-20 Thread John Harrison via lldb-commits
https://github.com/ashgti updated https://github.com/llvm/llvm-project/pull/147787 >From e692c5f9bda1c37e486dfbbd4a57fe573c83045e Mon Sep 17 00:00:00 2001 From: John Harrison Date: Wed, 9 Jul 2025 10:25:08 -0700 Subject: [PATCH 1/3] [lldb-dap] Reland refactor of DebugCommunication. Originally

[Lldb-commits] [lldb] [lldb] Fix source line annotations for libsanitizers traces (PR #154247)

2025-08-20 Thread Jonas Devlieghere via lldb-commits
@@ -176,10 +170,24 @@ HistoryThreads MemoryHistoryASan::GetHistoryThreads(lldb::addr_t address) { options.SetAutoApplyFixIts(false); options.SetLanguage(eLanguageTypeObjC_plus_plus); + // The ASan compiler-rt runtime already massages the return addresses into + // call

[Lldb-commits] [lldb] [lldb/API] Add setters to SBStructuredData (PR #154445)

2025-08-20 Thread via lldb-commits
https://github.com/jimingham edited https://github.com/llvm/llvm-project/pull/154445 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Fix source line annotations for libsanitizers traces (PR #154247)

2025-08-20 Thread Jonas Devlieghere via lldb-commits
@@ -248,6 +248,22 @@ enum class IterationAction { Stop, }; +/// Specifies the type of PCs when creating a `HistoryThread`. +/// - Usually, when LLDB unwinds the stack or we retrieve a stack trace via +/// `backtrace()` we are collecting return addresses (except for the top

[Lldb-commits] [lldb] [lldb/API] Add setters to SBStructuredData (PR #154445)

2025-08-20 Thread via lldb-commits
@@ -109,6 +109,22 @@ class SBStructuredData { /// Return the generic pointer if this data structure is a generic type. lldb::SBScriptObject GetGenericValue() const; + void SetValueForKey(const char *key, SBStructuredData &value) const; jimingham wrote: A

[Lldb-commits] [clang] [clang-tools-extra] [compiler-rt] [libcxx] [libcxxabi] [libunwind] [lldb] [llvm] [mlir] [openmp] [NFC][CMake] quote ${CMAKE_SYSTEM_NAME} consistently (PR #154537)

2025-08-20 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running on `linaro-clang-armv8-quick` while building `clang-tools-extra,clang,compiler-rt,libcxx,libcxxabi,libunwind,lldb,llvm,mlir,offload,openmp,third-party` at step 5 "ninja check 1". Full details are av

[Lldb-commits] [lldb] [lldb] Remove unused XcodeSDK::SupportsSwift (NFC) (PR #154572)

2025-08-20 Thread Alex Langford via lldb-commits
https://github.com/bulbazord approved this pull request. https://github.com/llvm/llvm-project/pull/154572 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Fix source line annotations for libsanitizers traces (PR #154247)

2025-08-20 Thread Julian Lettner via lldb-commits
https://github.com/yln updated https://github.com/llvm/llvm-project/pull/154247 >From b92dee9ba04d1baabab08ab96fcef7d860d3b47e Mon Sep 17 00:00:00 2001 From: Julian Lettner Date: Mon, 18 Aug 2025 12:37:24 -0700 Subject: [PATCH 1/2] [lldb] Introduce TracePCType enum Introduce and adopt `TracePCT

[Lldb-commits] [lldb] [lldb] Tweak check for CommandLineTools in ParseXcodeSDK (PR #154574)

2025-08-20 Thread Alex Langford via lldb-commits
https://github.com/bulbazord approved this pull request. Nice :) https://github.com/llvm/llvm-project/pull/154574 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Re-land refactor of DebugCommunication. (PR #147787)

2025-08-20 Thread John Harrison via lldb-commits
@@ -1141,15 +1253,22 @@ def request_completions(self, text, frameId=None): "type": "request", "arguments": args_dict, } -return self.send_recv(command_dict) - -def request_modules(self, startModule: int, moduleCount: int): -re

[Lldb-commits] [lldb] [lldb-dap] Re-land refactor of DebugCommunication. (PR #147787)

2025-08-20 Thread John Harrison via lldb-commits
@@ -188,267 +241,326 @@ def validate_response(cls, command, response): ) def _read_packet_thread(self): -done = False try: -while not done: +while True: packet = read_packet(self.recv, trace_file=self.tr

[Lldb-commits] [lldb] [lldb-dap] Re-land refactor of DebugCommunication. (PR #147787)

2025-08-20 Thread John Harrison via lldb-commits
@@ -1141,15 +1253,22 @@ def request_completions(self, text, frameId=None): "type": "request", "arguments": args_dict, } -return self.send_recv(command_dict) - -def request_modules(self, startModule: int, moduleCount: int): -re

[Lldb-commits] [lldb] [lldb-dap] Re-land refactor of DebugCommunication. (PR #147787)

2025-08-20 Thread John Harrison via lldb-commits
@@ -188,267 +241,326 @@ def validate_response(cls, command, response): ) def _read_packet_thread(self): -done = False try: -while not done: +while True: packet = read_packet(self.recv, trace_file=self.tr

[Lldb-commits] [lldb] [lldb-dap] Re-land refactor of DebugCommunication. (PR #147787)

2025-08-20 Thread John Harrison via lldb-commits
@@ -152,25 +189,41 @@ def __init__( self.log_file = log_file self.send = send self.recv = recv -self.recv_packets: list[Optional[ProtocolMessage]] = [] -self.recv_condition = threading.Condition() -self.recv_thread = threading.Thr

[Lldb-commits] [lldb] [lldb-dap] Re-land refactor of DebugCommunication. (PR #147787)

2025-08-20 Thread John Harrison via lldb-commits
https://github.com/ashgti updated https://github.com/llvm/llvm-project/pull/147787 >From e692c5f9bda1c37e486dfbbd4a57fe573c83045e Mon Sep 17 00:00:00 2001 From: John Harrison Date: Wed, 9 Jul 2025 10:25:08 -0700 Subject: [PATCH 1/2] [lldb-dap] Reland refactor of DebugCommunication. Originally

[Lldb-commits] [lldb] [lldb] Tweak check for CommandLineTools in ParseXcodeSDK (PR #154574)

2025-08-20 Thread Dave Lee via lldb-commits
https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/154574 None >From 13264919452f446dd13f5f8a3e3ed207e84bf96b Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Wed, 20 Aug 2025 09:41:26 -0700 Subject: [PATCH] [lldb] Tweak check for CommandLineTools in ParseXcodeSDK -

[Lldb-commits] [lldb] [lldb] Tweak check for CommandLineTools in ParseXcodeSDK (PR #154574)

2025-08-20 Thread Dave Lee via lldb-commits
https://github.com/kastiglione edited https://github.com/llvm/llvm-project/pull/154574 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Tweak check for CommandLineTools in ParseXcodeSDK (PR #154574)

2025-08-20 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dave Lee (kastiglione) Changes Follow up to https://github.com/llvm/llvm-project/pull/128712 --- Full diff: https://github.com/llvm/llvm-project/pull/154574.diff 1 Files Affected: - (modified) lldb/source/Plugins/SymbolFile/DWARF/SymbolF

[Lldb-commits] [clang] [clang-tools-extra] [compiler-rt] [libcxx] [libcxxabi] [libunwind] [lldb] [llvm] [mlir] [openmp] [NFC][CMake] quote ${CMAKE_SYSTEM_NAME} consistently (PR #154537)

2025-08-20 Thread David Tenty via lldb-commits
https://github.com/daltenty closed https://github.com/llvm/llvm-project/pull/154537 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Remove unused XcodeSDK::SupportsSwift (NFC) (PR #154572)

2025-08-20 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dave Lee (kastiglione) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/154572.diff 3 Files Affected: - (modified) lldb/include/lldb/Utility/XcodeSDK.h (-2) - (modified) lldb/source/Utility/XcodeSDK.cpp (-23) - (modifi

[Lldb-commits] [lldb] [lldb] Remove unused XcodeSDK::SupportsSwift (NFC) (PR #154572)

2025-08-20 Thread Dave Lee via lldb-commits
kastiglione wrote: this function is also not used downstream in the swift repo. https://github.com/llvm/llvm-project/pull/154572 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Use SmallPtrSet directly instead of SmallSet (NFC) (PR #154472)

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

[Lldb-commits] [lldb] [lldb] Remove unused XcodeSDK::SupportsSwift (NFC) (PR #154572)

2025-08-20 Thread Dave Lee via lldb-commits
https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/154572 None >From 9e56a63771919e53ed7228adab394f61b1d1a5ba Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Tue, 19 Aug 2025 21:59:05 -0700 Subject: [PATCH] [lldb] Remove unused XcodeSDK::SupportsSwift (NFC) --- ll

[Lldb-commits] [clang] [clang-tools-extra] [compiler-rt] [libcxx] [libcxxabi] [libunwind] [lldb] [llvm] [mlir] [openmp] [NFC][CMake] quote ${CMAKE_SYSTEM_NAME} consistently (PR #154537)

2025-08-20 Thread David Tenty via lldb-commits
https://github.com/daltenty updated https://github.com/llvm/llvm-project/pull/154537 >From d642441854a74abcf5d3aa651abdec3465e78188 Mon Sep 17 00:00:00 2001 From: David Tenty Date: Wed, 20 Aug 2025 00:08:58 -0400 Subject: [PATCH 1/4] [NFC][CMake] quote ${CMAKE_SYSTEM_NAME} consistently --- ll

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-20 Thread via lldb-commits
cmtice wrote: > > Even a 3-4% increase in binary size is going to cause serious problems for > > us at Google. Is there any way that this work could be guarded by a flag, > > so that we can turn it off until we find a way to work around the problems > > it will cause for us? > > Yup I put thi

[Lldb-commits] [clang] [clang-tools-extra] [compiler-rt] [libcxx] [libcxxabi] [libunwind] [lldb] [llvm] [mlir] [openmp] [NFC][CMake] quote ${CMAKE_SYSTEM_NAME} consistently (PR #154537)

2025-08-20 Thread David Tenty via lldb-commits
https://github.com/daltenty updated https://github.com/llvm/llvm-project/pull/154537 >From d642441854a74abcf5d3aa651abdec3465e78188 Mon Sep 17 00:00:00 2001 From: David Tenty Date: Wed, 20 Aug 2025 00:08:58 -0400 Subject: [PATCH 1/3] [NFC][CMake] quote ${CMAKE_SYSTEM_NAME} consistently --- ll

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-20 Thread Michael Buch via lldb-commits
Michael137 wrote: > Even a 3-4% increase in binary size is going to cause serious problems for us > at Google. Is there any way that this work could be guarded by a flag, so > that we can turn it off until we find a way to work around the problems it > will cause for us? Yup I put this behind

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-20 Thread via lldb-commits
cmtice wrote: Even a 3-4% increase in binary size is going to cause serious problems for us at Google. Is there any way that this work could be guarded by a flag, so that we can turn it off until we find a way to work around the problems it will cause for us? https://github.com/llvm/llvm-proj

[Lldb-commits] [lldb] [lldb] Add flag to "settings show" to include default values (PR #153233)

2025-08-20 Thread Dave Lee via lldb-commits
kastiglione wrote: If there's no more feedback, I'll merge this soon. https://github.com/llvm/llvm-project/pull/153233 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] make lit use the same PYTHONHOME for building and running the API tests (PR #154396)

2025-08-20 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit closed https://github.com/llvm/llvm-project/pull/154396 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] c56bb12 - [lldb] make lit use the same PYTHONHOME for building and running the API tests (#154396)

2025-08-20 Thread via lldb-commits
Author: Charles Zablit Date: 2025-08-20T14:10:50+01:00 New Revision: c56bb124e31da76d09cf6419a4a6ca3bd38474c4 URL: https://github.com/llvm/llvm-project/commit/c56bb124e31da76d09cf6419a4a6ca3bd38474c4 DIFF: https://github.com/llvm/llvm-project/commit/c56bb124e31da76d09cf6419a4a6ca3bd38474c4.diff

[Lldb-commits] [lldb] [lldb][windows] remove duplicate implementation of UTF8ToUTF16 (PR #154424)

2025-08-20 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit updated https://github.com/llvm/llvm-project/pull/154424 >From 5c7c53e53d179e7e002cbe958c12aef453afa6da Mon Sep 17 00:00:00 2001 From: Charles Zablit Date: Tue, 19 Aug 2025 22:22:38 +0100 Subject: [PATCH 1/3] [lldb][windows] remove duplicate implementation of

[Lldb-commits] [lldb] [lldb][windows] remove duplicate implementation of UTF8ToUTF16 (PR #154424)

2025-08-20 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit updated https://github.com/llvm/llvm-project/pull/154424 >From 5c7c53e53d179e7e002cbe958c12aef453afa6da Mon Sep 17 00:00:00 2001 From: Charles Zablit Date: Tue, 19 Aug 2025 22:22:38 +0100 Subject: [PATCH 1/2] [lldb][windows] remove duplicate implementation of

[Lldb-commits] [lldb] [lldb] Fix source line annotations for libsanitizers traces (PR #154247)

2025-08-20 Thread Michael Buch via lldb-commits
@@ -248,6 +248,22 @@ enum class IterationAction { Stop, }; +/// Specifies the type of PCs when creating a `HistoryThread`. +/// - Usually, when LLDB unwinds the stack or we retrieve a stack trace via +/// `backtrace()` we are collecting return addresses (except for the top

[Lldb-commits] [lldb] [lldb] Fix source line annotations for libsanitizers traces (PR #154247)

2025-08-20 Thread Michael Buch via lldb-commits
https://github.com/Michael137 approved this pull request. LGTM! I'd wait a day or so before merging so @JDevlieghere or @jasonmolenda can chime in. https://github.com/llvm/llvm-project/pull/154247 ___ lldb-commits mailing list lldb-commits@lists.llvm

[Lldb-commits] [lldb] [lldb] Fix source line annotations for libsanitizers traces (PR #154247)

2025-08-20 Thread Michael Buch via lldb-commits
@@ -248,6 +248,22 @@ enum class IterationAction { Stop, }; +/// Specifies the type of PCs when creating a `HistoryThread`. +/// - Usually, when LLDB unwinds the stack or we retrieve a stack trace via +/// `backtrace()` we are collecting return addresses (except for the top