[Lldb-commits] [lldb] [lldb][AIX] Header Parsing for XCOFF Object File in AIX (PR #116338)

2024-12-16 Thread Dhruv Srivastava via lldb-commits
@@ -81,9 +79,44 @@ ObjectFile *ObjectFileXCOFF::CreateInstance(const lldb::ModuleSP &module_sp, if (!objfile_up) return nullptr; + // Cache xcoff binary. + if (!objfile_up->CreateBinary()) +return nullptr; + + if (!objfile_up->ParseHeader()) +return nullptr;

[Lldb-commits] [lldb] [LLDB] Add external progress bit category (PR #120171)

2024-12-16 Thread Jacob Lalonde via lldb-commits
Jlalond wrote: @JDevlieghere I'm hoping I did this right, additionally any preference on where the enum should live? I debated on enumerations and just make a generic 'eventorigin' enumeration that we could reuse for events in the future. But I figured that was reaching. https://github.com/ll

[Lldb-commits] [lldb] [LLDB] Add external progress bit category (PR #120171)

2024-12-16 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jacob Lalonde (Jlalond) Changes As feedback on #119052, it was recommended I add a new bit to delineate internal and external progress events. This patch adds this new category, and sets up Progress.h to support external events via SBProgr

[Lldb-commits] [lldb] [LLDB] Add external progress bit category (PR #120171)

2024-12-16 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond created https://github.com/llvm/llvm-project/pull/120171 As feedback on #119052, it was recommended I add a new bit to delineate internal and external progress events. This patch adds this new category, and sets up Progress.h to support external events via SBProgress

[Lldb-commits] [lldb] [llvm] [LLDB][Minidump] Make workaround for the Dynamic loader issue (PR #120166)

2024-12-16 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond unassigned https://github.com/llvm/llvm-project/pull/120166 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [LLDB][Minidump] Make workaround for the Dynamic loader issue (PR #120166)

2024-12-16 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jacob Lalonde (Jlalond) Changes In #119598 my recent TLS feature seems to break crashpad symbols. I have a few ideas on how this is happening, but for now as a mitigation I'm checking if the Minidump was LLDB generated, and if so leveragin

[Lldb-commits] [lldb] [llvm] [LLDB][Minidump] Make workaround for the Dynamic loader issue (PR #120166)

2024-12-16 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-binary-utilities Author: Jacob Lalonde (Jlalond) Changes In #119598 my recent TLS feature seems to break crashpad symbols. I have a few ideas on how this is happening, but for now as a mitigation I'm checking if the Minidump was LLDB generated, an

[Lldb-commits] [lldb] [llvm] [LLDB][Minidump] Make workaround for the Dynamic loader issue (PR #120166)

2024-12-16 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond unassigned https://github.com/llvm/llvm-project/pull/120166 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [LLDB][Minidump] Make workaround for the Dynamic loader issue (PR #120166)

2024-12-16 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond created https://github.com/llvm/llvm-project/pull/120166 In #119598 my recent TLS feature seems to break crashpad symbols. I have a few ideas on how this is happening, but for now as a mitigation I'm checking if the Minidump was LLDB generated, and if so leveraging t

[Lldb-commits] [lldb] [lldb] Add missing operations to GetOpcodeDataSize (PR #120163)

2024-12-16 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jonas Devlieghere (JDevlieghere) Changes The improved error reporting in #120162 revealed that we were missing opcodes in GetOpcodeDataSize. rdar://139705570 --- Full diff: https://github.com/llvm/llvm-project/pull/120163.diff 1 Files A

[Lldb-commits] [lldb] [lldb] Add missing operations to GetOpcodeDataSize (PR #120163)

2024-12-16 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/120163 The improved error reporting in #120162 revealed that we were missing opcodes in GetOpcodeDataSize. rdar://139705570 >From 5aca34df18e4a64a5c7aacfa77d9086dd6ca5271 Mon Sep 17 00:00:00 2001 From: Jonas Dev

[Lldb-commits] [lldb] [lldb] Improve error reporting in GetLocation_DW_OP_addr (PR #120162)

2024-12-16 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jonas Devlieghere (JDevlieghere) Changes Instead of simply raising an error flag, use an llvm::Expected to propagate a meaningful error to the caller, who can report it. rdar://139705570 --- Full diff: https://github.com/llvm/llvm-project

[Lldb-commits] [lldb] [lldb] Improve error reporting in GetLocation_DW_OP_addr (PR #120162)

2024-12-16 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere edited https://github.com/llvm/llvm-project/pull/120162 ___ 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 reporting in GetLocation_DW_OP_addr (PR #120162)

2024-12-16 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere edited https://github.com/llvm/llvm-project/pull/120162 ___ 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 reporting in DWARFExpression::GetLocation_DW_OP_… (PR #120162)

2024-12-16 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/120162 …addr Instead of simply raising an error flag, use an llvm::Expected to propagate a meaningful error to the caller, who can report it. rdar://139705570 >From 9637e922d0646a4008c76ac0cbf9713511bf2d3e Mon

[Lldb-commits] [clang] [lldb] [clang][DebugInfo][gmodules] Set runtimeLang on ObjC forward declarations (PR #120154)

2024-12-16 Thread Michael Buch via lldb-commits
@@ -2995,20 +2995,21 @@ llvm::DIType *CGDebugInfo::CreateType(const ObjCInterfaceType *Ty, if (!ID) return nullptr; + auto RuntimeLang = + static_cast(TheCU->getSourceLanguage()); + // Return a forward declaration if this type was imported from a clang module,

[Lldb-commits] [clang] [lldb] [clang][DebugInfo][gmodules] Set runtimeLang on ObjC forward declarations (PR #120154)

2024-12-16 Thread Adrian Prantl via lldb-commits
@@ -2995,20 +2995,21 @@ llvm::DIType *CGDebugInfo::CreateType(const ObjCInterfaceType *Ty, if (!ID) return nullptr; + auto RuntimeLang = + static_cast(TheCU->getSourceLanguage()); + // Return a forward declaration if this type was imported from a clang module,

[Lldb-commits] [clang] [lldb] [clang][DebugInfo][gmodules] Set runtimeLang on ObjC forward declarations (PR #120154)

2024-12-16 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Michael Buch (Michael137) Changes In Objective-C, forward declarations are currently represented as: ``` DW_TAG_structure_type DW_AT_name("Foo") DW_AT_declaration (true) DW_AT_APPLE_runtime_class (DW_LA

[Lldb-commits] [clang] [lldb] [clang][DebugInfo][gmodules] Set runtimeLang on ObjC forward declarations (PR #120154)

2024-12-16 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Michael Buch (Michael137) Changes In Objective-C, forward declarations are currently represented as: ``` DW_TAG_structure_type DW_AT_name("Foo") DW_AT_declaration (true) DW_AT_APPLE_runtime_class (DW_LA

[Lldb-commits] [clang] [lldb] [clang][DebugInfo][gmodules] Set runtimeLang on ObjC forward declarations (PR #120154)

2024-12-16 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb @llvm/pr-subscribers-clang Author: Michael Buch (Michael137) Changes In Objective-C, forward declarations are currently represented as: ``` DW_TAG_structure_type DW_AT_name("Foo") DW_AT_declaration (true) DW_AT_APPLE_ru

[Lldb-commits] [clang] [lldb] [clang][DebugInfo][gmodules] Set runtimeLang on ObjC forward declarations (PR #120154)

2024-12-16 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/120154 In Objective-C, forward declarations are currently represented as: ``` DW_TAG_structure_type DW_AT_name("Foo") DW_AT_declaration (true) DW_AT_APPLE_runtime_class (DW_LANG_ObjC) ``

[Lldb-commits] [lldb] 8f151f0 - [lldb] Unify window resizing logic in command line driver

2024-12-16 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2024-12-16T12:22:25-08:00 New Revision: 8f151f0f559c4881a0d206124c64226a82d44a79 URL: https://github.com/llvm/llvm-project/commit/8f151f0f559c4881a0d206124c64226a82d44a79 DIFF: https://github.com/llvm/llvm-project/commit/8f151f0f559c4881a0d206124c64226a82d44a79.d

[Lldb-commits] [lldb] [lldb] Use the terminal height for paging editline completions (PR #119914)

2024-12-16 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere closed https://github.com/llvm/llvm-project/pull/119914 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 3dfc1d9 - [lldb] Use the terminal height for paging editline completions (#119914)

2024-12-16 Thread via lldb-commits
Author: Jonas Devlieghere Date: 2024-12-16T11:11:17-08:00 New Revision: 3dfc1d9b0bc41eaf63e551ca357b44a71636b152 URL: https://github.com/llvm/llvm-project/commit/3dfc1d9b0bc41eaf63e551ca357b44a71636b152 DIFF: https://github.com/llvm/llvm-project/commit/3dfc1d9b0bc41eaf63e551ca357b44a71636b152.d

[Lldb-commits] [lldb] [lldb] Provide default impl for MightHaveChildren (NFC) (PR #119977)

2024-12-16 Thread Dave Lee via lldb-commits
https://github.com/kastiglione updated https://github.com/llvm/llvm-project/pull/119977 >From 3bf901b53d98378cee4a1868d039a1289e9e5277 Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Sat, 14 Dec 2024 09:26:17 -0800 Subject: [PATCH 1/3] [lldb] Provide default impl for MightHaveChildren (NFC) ---

[Lldb-commits] [lldb] [lldb] Use the terminal height for paging editline completions (PR #119914)

2024-12-16 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/119914 >From f6fdfaf4be339a6412019113462b05cbce66c753 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 22 Feb 2024 21:54:07 -0800 Subject: [PATCH 1/5] [lldb] Use the terminal height for paging editline

[Lldb-commits] [lldb] [lldb] Use the terminal height for paging editline completions (PR #119914)

2024-12-16 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 88bcf7283b35b979ace0c6be32736b13f6b771ae ae4e7a10d6f88e9c3d8fb7d47365c9f5b8ee2f2b --e

[Lldb-commits] [lldb] [lldb] Use the terminal height for paging editline completions (PR #119914)

2024-12-16 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/119914 >From f6fdfaf4be339a6412019113462b05cbce66c753 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 22 Feb 2024 21:54:07 -0800 Subject: [PATCH 1/4] [lldb] Use the terminal height for paging editline

[Lldb-commits] [lldb] 9ee454a - [lldb] Fix RST table formatting

2024-12-16 Thread Adrian Prantl via lldb-commits
Author: Adrian Prantl Date: 2024-12-16T10:42:37-08:00 New Revision: 9ee454a57c061e47223e079cdc64d315580367ed URL: https://github.com/llvm/llvm-project/commit/9ee454a57c061e47223e079cdc64d315580367ed DIFF: https://github.com/llvm/llvm-project/commit/9ee454a57c061e47223e079cdc64d315580367ed.diff

[Lldb-commits] [lldb] 11d2911 - [lldb] Fix warnings

2024-12-16 Thread Kazu Hirata via lldb-commits
Author: Kazu Hirata Date: 2024-12-16T09:34:08-08:00 New Revision: 11d2911ef117aef2afb136339f0c24f8eee10c32 URL: https://github.com/llvm/llvm-project/commit/11d2911ef117aef2afb136339f0c24f8eee10c32 DIFF: https://github.com/llvm/llvm-project/commit/11d2911ef117aef2afb136339f0c24f8eee10c32.diff L

[Lldb-commits] [lldb] [lldb] Use the terminal height for paging editline completions (PR #119914)

2024-12-16 Thread Pavel Labath via lldb-commits
@@ -1026,21 +1045,15 @@ void Editline::DisplayCompletions( const size_t max_len = longest->GetCompletion().size(); - if (results.size() < page_size) { -PrintCompletion(editline.m_output_file, results, max_len, -editline.GetTerminalWidth()); -ret

[Lldb-commits] [lldb] [lldb] Use the terminal height for paging editline completions (PR #119914)

2024-12-16 Thread Pavel Labath via lldb-commits
https://github.com/labath approved this pull request. https://github.com/llvm/llvm-project/pull/119914 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Use the terminal height for paging editline completions (PR #119914)

2024-12-16 Thread Pavel Labath via lldb-commits
@@ -1000,14 +1010,17 @@ PrintCompletion(FILE *output_file, if (position + description_length < max_length) { fprintf(output_file, "%.*s\n", static_cast(description_length), line.data()); +lines_printed++; labath wrote: I s

[Lldb-commits] [lldb] [lldb] Use the terminal height for paging editline completions (PR #119914)

2024-12-16 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/119914 >From f6fdfaf4be339a6412019113462b05cbce66c753 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 22 Feb 2024 21:54:07 -0800 Subject: [PATCH 1/3] [lldb] Use the terminal height for paging editline

[Lldb-commits] [lldb] [lldb] Use the terminal height for paging editline completions (PR #119914)

2024-12-16 Thread Jonas Devlieghere via lldb-commits
@@ -1000,14 +1010,17 @@ PrintCompletion(FILE *output_file, if (position + description_length < max_length) { fprintf(output_file, "%.*s\n", static_cast(description_length), line.data()); +lines_printed++; JDevlieghere wrote

[Lldb-commits] [lldb] [lldb] Disable TestIOHandlerResizeNoEditline.py for Windows hosts (PR #120025)

2024-12-16 Thread Dmitry Vasilyev via lldb-commits
https://github.com/slydiman closed https://github.com/llvm/llvm-project/pull/120025 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] d576021 - [lldb] Disable TestIOHandlerResizeNoEditline.py for Windows hosts (#120025)

2024-12-16 Thread via lldb-commits
Author: Dmitry Vasilyev Date: 2024-12-16T19:52:30+04:00 New Revision: d576021853fd64c10fd746389a9b263cf10c5295 URL: https://github.com/llvm/llvm-project/commit/d576021853fd64c10fd746389a9b263cf10c5295 DIFF: https://github.com/llvm/llvm-project/commit/d576021853fd64c10fd746389a9b263cf10c5295.dif

[Lldb-commits] [lldb] [lldb][AIX] Added base files for NativeProcess Support for AIX (PR #118160)

2024-12-16 Thread Pavel Labath via lldb-commits
@@ -0,0 +1,265 @@ +//===-- NativeProcessAIX.cpp ===// +// +// 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: Apach

[Lldb-commits] [lldb] [lldb][AIX] Added base files for NativeProcess Support for AIX (PR #118160)

2024-12-16 Thread Pavel Labath via lldb-commits
@@ -0,0 +1,119 @@ +//===-- NativeProcessAIX.h -- -*- C++ -*-===// +// +// 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: Apach

[Lldb-commits] [lldb] [lldb][AIX] Added base files for NativeProcess Support for AIX (PR #118160)

2024-12-16 Thread Pavel Labath via lldb-commits
@@ -0,0 +1,265 @@ +//===-- NativeProcessAIX.cpp ===// +// +// 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: Apach

[Lldb-commits] [lldb] [lldb][AIX] Added base files for NativeProcess Support for AIX (PR #118160)

2024-12-16 Thread Pavel Labath via lldb-commits
@@ -0,0 +1,119 @@ +//===-- NativeProcessAIX.h -- -*- C++ -*-===// +// +// 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: Apach

[Lldb-commits] [lldb] [lldb][AIX] Added base files for NativeProcess Support for AIX (PR #118160)

2024-12-16 Thread Pavel Labath via lldb-commits
@@ -0,0 +1,265 @@ +//===-- NativeProcessAIX.cpp ===// +// +// 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: Apach

[Lldb-commits] [lldb] [lldb][AIX] Added base files for NativeProcess Support for AIX (PR #118160)

2024-12-16 Thread Pavel Labath via lldb-commits
@@ -0,0 +1,130 @@ +//===-- NativeProcessAIX.h -- -*- C++ -*-===// +// +// 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: Apach

[Lldb-commits] [lldb] [lldb][AIX] Added base files for NativeProcess Support for AIX (PR #118160)

2024-12-16 Thread Pavel Labath via lldb-commits
@@ -0,0 +1,265 @@ +//===-- NativeProcessAIX.cpp ===// +// +// 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: Apach

[Lldb-commits] [lldb] [lldb] Disable TestIOHandlerResizeNoEditline.py for Windows hosts (PR #120025)

2024-12-16 Thread Pavel Labath via lldb-commits
https://github.com/labath approved this pull request. https://github.com/llvm/llvm-project/pull/120025 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Use the terminal height for paging editline completions (PR #119914)

2024-12-16 Thread Pavel Labath via lldb-commits
@@ -1000,14 +1010,17 @@ PrintCompletion(FILE *output_file, if (position + description_length < max_length) { fprintf(output_file, "%.*s\n", static_cast(description_length), line.data()); +lines_printed++; labath wrote: It

[Lldb-commits] [lldb] [WIP][lldb][DWARFASTParserClang] Eagerly search definitions for Objective-C classes (PR #119860)

2024-12-16 Thread Pavel Labath via lldb-commits
labath wrote: Unfortunate, but I guess there's nothing we can do to avoid it. https://github.com/llvm/llvm-project/pull/119860 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][Linux] Moving APIs from HostInfoLinux to HostInfoPosix (PR #119694)

2024-12-16 Thread David Spickett via lldb-commits
@@ -139,8 +177,53 @@ FileSpec HostInfoPosix::GetDefaultShell() { return FileSpec("/bin/sh"); } +FileSpec HostInfoPosix::GetProgramFileSpec() { + static FileSpec g_program_filespec; + + if (!g_program_filespec) { +char exe_path[PATH_MAX]; +ssize_t len = readlink("/p

[Lldb-commits] [lldb] [lldb][Linux] Moving APIs from HostInfoLinux to HostInfoPosix (PR #119694)

2024-12-16 Thread David Spickett via lldb-commits
@@ -139,8 +177,53 @@ FileSpec HostInfoPosix::GetDefaultShell() { return FileSpec("/bin/sh"); } +FileSpec HostInfoPosix::GetProgramFileSpec() { + static FileSpec g_program_filespec; + + if (!g_program_filespec) { +char exe_path[PATH_MAX]; +ssize_t len = readlink("/p

[Lldb-commits] [lldb] [WIP][lldb][DWARFASTParserClang] Eagerly search definitions for Objective-C classes (PR #119860)

2024-12-16 Thread Pavel Labath via lldb-commits
@@ -1671,43 +1671,84 @@ DWARFASTParserClang::ParseStructureLikeDIE(const SymbolContext &sc, attrs.is_forward_declaration = true; } + DWARFDIE def_die; + if (attrs.is_forward_declaration && cu_language == eLanguageTypeObjC) { +def_die = dwarf->FindDefinitionDIE(die

[Lldb-commits] [lldb] [lldb][AIX] Header Parsing for XCOFF Object File in AIX (PR #116338)

2024-12-16 Thread Pavel Labath via lldb-commits
@@ -81,9 +79,44 @@ ObjectFile *ObjectFileXCOFF::CreateInstance(const lldb::ModuleSP &module_sp, if (!objfile_up) return nullptr; + // Cache xcoff binary. + if (!objfile_up->CreateBinary()) +return nullptr; + + if (!objfile_up->ParseHeader()) +return nullptr;

[Lldb-commits] [lldb] [lldb][Linux] Moving APIs from HostInfoLinux to HostInfoPosix (PR #119694)

2024-12-16 Thread Pavel Labath via lldb-commits
https://github.com/labath commented: I agree with David except for the `GetProgramFileSpec` thingy -- where I have a question. https://github.com/llvm/llvm-project/pull/119694 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llv

[Lldb-commits] [lldb] [lldb][Linux] Moving APIs from HostInfoLinux to HostInfoPosix (PR #119694)

2024-12-16 Thread Pavel Labath via lldb-commits
@@ -139,8 +177,53 @@ FileSpec HostInfoPosix::GetDefaultShell() { return FileSpec("/bin/sh"); } +FileSpec HostInfoPosix::GetProgramFileSpec() { + static FileSpec g_program_filespec; + + if (!g_program_filespec) { +char exe_path[PATH_MAX]; +ssize_t len = readlink("/p

[Lldb-commits] [lldb] [lldb] Add ability to rate-limit progress reports (PR #119377)

2024-12-16 Thread Pavel Labath via lldb-commits
https://github.com/labath closed https://github.com/llvm/llvm-project/pull/119377 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 0dbdc23 - [lldb] Add ability to rate-limit progress reports (#119377)

2024-12-16 Thread via lldb-commits
Author: Pavel Labath Date: 2024-12-16T11:35:43+01:00 New Revision: 0dbdc23e78ac1f34a5b563f2db73f9ca64714fac URL: https://github.com/llvm/llvm-project/commit/0dbdc23e78ac1f34a5b563f2db73f9ca64714fac DIFF: https://github.com/llvm/llvm-project/commit/0dbdc23e78ac1f34a5b563f2db73f9ca64714fac.diff

[Lldb-commits] [lldb] [lldb][test] Prefer gmake to make and warn for potentially non-GNU make (PR #119573)

2024-12-16 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett closed https://github.com/llvm/llvm-project/pull/119573 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] b4c1f0c - [lldb][test] Prefer gmake to make and warn for potentially non-GNU make (#119573)

2024-12-16 Thread via lldb-commits
Author: David Spickett Date: 2024-12-16T08:47:48Z New Revision: b4c1f0cc492f1597397dcf0b06b816fa0a2135f1 URL: https://github.com/llvm/llvm-project/commit/b4c1f0cc492f1597397dcf0b06b816fa0a2135f1 DIFF: https://github.com/llvm/llvm-project/commit/b4c1f0cc492f1597397dcf0b06b816fa0a2135f1.diff LOG