[Lldb-commits] [clang] [lldb] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)

2025-10-14 Thread Justin Stitt via lldb-commits
JustinStitt wrote: @kees > If we don't follow what I'm describing, this becomes meaningless: > > ``` > int __ob_trap big = runtime_1024; > ... > char __ob_wrap byte = big; // is this supposed to wrap or trap? I say wrap -- > we're describing how "byte" behaves > ``` > > How can we perform an

[Lldb-commits] [lldb] [gdbremote] Document MultiMemRead packet in protocol extensions (PR #162675)

2025-10-14 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda approved this pull request. Looks good to me with the edits, but David's feedback was more critical, I'd like to get his sign-off. https://github.com/llvm/llvm-project/pull/162675 ___ lldb-commits mailing list lldb-comm

[Lldb-commits] [lldb] [lldb] Parse qSupported MultiMemRead tag in GDB Remote Client (PR #163249)

2025-10-14 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda approved this pull request. Looks good to me. https://github.com/llvm/llvm-project/pull/163249 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Correct BridgeOS spelling and ignore case when parsing the SDK (PR #163479)

2025-10-14 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jonas Devlieghere (JDevlieghere) Changes Ignore case when parsing the Xcode SDK. The BridgeOS SDK is capitalized, but previously failed to parse because we were looking for bridgeOS. This PR updates the enum value and the canonical spellin

[Lldb-commits] [lldb] [lldb] Enable locate module callback for main executable (PR #160199)

2025-10-14 Thread via lldb-commits
https://github.com/GeorgeHuyubo updated https://github.com/llvm/llvm-project/pull/160199 >From c6534a14078ee8644c2403d51e9df613cddce22b Mon Sep 17 00:00:00 2001 From: George Hu Date: Mon, 22 Sep 2025 13:42:31 -0700 Subject: [PATCH 1/6] Call locate module callback for main executable --- lldb/

[Lldb-commits] [lldb] [lldb][NFC] Remove unused find_program logic (PR #163446)

2025-10-14 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere approved this pull request. https://github.com/llvm/llvm-project/pull/163446 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [lldb] [llvm] [ADT] Mark StringSwitch Cases with 6+ arguments as deprecated. NFC. (PR #163405)

2025-10-14 Thread Jakub Kuderski via lldb-commits
https://github.com/kuhar updated https://github.com/llvm/llvm-project/pull/163405 >From 6d0d2d7171b2ebe6670c3b0b4966b4b1b42147d7 Mon Sep 17 00:00:00 2001 From: Jakub Kuderski Date: Tue, 14 Oct 2025 10:23:32 -0400 Subject: [PATCH 1/6] [ADT] Mark StringSwitch Cases 6+ arguments as deprecated. NF

[Lldb-commits] [lldb] bed17c0 - [lldb][NFCI] Refactor AppleObjCClassDescriptorV2 method_t parsing functions (#163291)

2025-10-14 Thread via lldb-commits
Author: Felipe de Azevedo Piovezan Date: 2025-10-14T14:02:46-07:00 New Revision: bed17c03fee09eabbd35eca3a8829f913a374424 URL: https://github.com/llvm/llvm-project/commit/bed17c03fee09eabbd35eca3a8829f913a374424 DIFF: https://github.com/llvm/llvm-project/commit/bed17c03fee09eabbd35eca3a8829f913

[Lldb-commits] [lldb] [lldb-dap] Remove timings from TestDAP_attach (PR #163452)

2025-10-14 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/163452 >From ee6524a76ba47f97ebea6d7b4620a2cea94997d5 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 14 Oct 2025 13:56:05 -0700 Subject: [PATCH 1/2] [lldb-dap] Remove timings from TestDAP_attach This

[Lldb-commits] [lldb] [lldb] Parse qSupported MultiMemRead tag in GDB Remote Client (PR #163249)

2025-10-14 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan edited https://github.com/llvm/llvm-project/pull/163249 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [lldb] [llvm] [ADT] Mark StringSwitch Cases with 6+ arguments as deprecated. NFC. (PR #163405)

2025-10-14 Thread Nikita Popov via lldb-commits
@@ -110,31 +111,41 @@ class StringSwitch { return CasesImpl(Value, {S0, S1, S2, S3, S4}); } + LLVM_DEPRECATED("Pass cases in std::initializer_list instead", + "Cases({S0, S1, ...}, Value)") nikic wrote: The second argument to LLVM_DEPR

[Lldb-commits] [clang] [lldb] [llvm] [ADT] Mark StringSwitch Cases with 6+ arguments as deprecated. NFC. (PR #163405)

2025-10-14 Thread Sam Elliott via lldb-commits
https://github.com/lenary approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/163405 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][Darwin] Add `process launch --memory-tagging` option (PR #162944)

2025-10-14 Thread Julian Lettner via lldb-commits
@@ -1210,6 +1210,39 @@ static Status LaunchProcessPosixSpawn(const char *exe_path, } } + if (launch_info.GetFlags().Test(eLaunchFlagMemoryTagging)) { +// The following function configures the spawn attributes to launch the +// process with memory tagging explic

[Lldb-commits] [lldb] [lldb-dap][test] create temp source file in test directory. (PR #163383)

2025-10-14 Thread Walter Erquinigo via lldb-commits
https://github.com/walter-erquinigo approved this pull request. https://github.com/llvm/llvm-project/pull/163383 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [lldb] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)

2025-10-14 Thread Kees Cook via lldb-commits
kees wrote: @JustinStitt were looking over things, and I stumbled over something here... > Thanks. So IIUC, the rule is: > > 1. If the type of either operand of an arithmetic operator is `__ob_trap`, > the operator traps on overflow, and the result type is `__ob_trap`. This is correct and wh

[Lldb-commits] [clang] [lldb] [llvm] [ADT] Mark StringSwitch Cases with 6+ arguments as deprecated. NFC. (PR #163405)

2025-10-14 Thread Sam Elliott via lldb-commits
lenary wrote: Can I ask why? And why 6+? Have particular issues been seen with these? https://github.com/llvm/llvm-project/pull/163405 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commi

[Lldb-commits] [lldb] [lldb][NFCI] Refactor AppleObjCClassDescriptorV2 method_t parsing functions (PR #163291)

2025-10-14 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan edited https://github.com/llvm/llvm-project/pull/163291 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap][test] create temp source file in test directory. (PR #163383)

2025-10-14 Thread Jonas Devlieghere via lldb-commits
@@ -29,7 +29,7 @@ def build_and_run_until_breakpoint(self): """ Build the program and run until the breakpoint is hit, and return the stack frames. """ -other_source_file = "other.c" +other_source_file = os.path.join(self.getBuildDir(),