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

2024-12-19 Thread Dhruv Srivastava via lldb-commits
https://github.com/DhruvSrivastavaX updated https://github.com/llvm/llvm-project/pull/119694 >From b8807f815956ac46e8b518a88cda79d16a4ec72c Mon Sep 17 00:00:00 2001 From: Dhruv-Srivastava Date: Thu, 12 Dec 2024 06:06:47 -0600 Subject: [PATCH 1/2] Moving APIs from HostInfoLinux to HostInfoPosix

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

2024-12-19 Thread Dhruv Srivastava via lldb-commits
@@ -27,6 +30,31 @@ using namespace lldb_private; +namespace { +struct HostInfoPosixFields { + llvm::once_flag m_os_version_once_flag; + llvm::VersionTuple m_os_version; +}; +} // namespace + +llvm::VersionTuple HostInfoPosix::GetOSVersion() { + static HostInfoPosixFields *

[Lldb-commits] [lldb] [lldb][AIX] Introducing ALL_SOURCE macro into driver CMakeLists (PR #120607)

2024-12-19 Thread Dhruv Srivastava via lldb-commits
https://github.com/DhruvSrivastavaX created https://github.com/llvm/llvm-project/pull/120607 This PR is in reference to porting LLDB on AIX. Link to discussions on llvm discourse and github: 1. https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640 2. https://github.com/llvm/llvm-project/issue

[Lldb-commits] [lldb] [lldb][AIX] Introducing ALL_SOURCE macro into driver CMakeLists (PR #120607)

2024-12-19 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dhruv Srivastava (DhruvSrivastavaX) Changes This PR is in reference to porting LLDB on AIX. Link to discussions on llvm discourse and github: 1. https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640 2. https://github.com/llvm/llvm-project

[Lldb-commits] [lldb] [lldb][debugserver] Read/write SME registers on arm64 (PR #119171)

2024-12-19 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda edited https://github.com/llvm/llvm-project/pull/119171 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][debugserver] Read/write SME registers on arm64 (PR #119171)

2024-12-19 Thread Jason Molenda via lldb-commits
jasonmolenda wrote: > I've taken the liberty of repeating the fact that the required APIs are not > in a publicly available OS release, at the top of the PR description. Thanks, I missed that. Yeah the unrecognized register flavor will be rejected by the thread_get_state call and we'll report

[Lldb-commits] [lldb] [lldb][AIX] Introducing ALL_SOURCE macro into driver CMakeLists (PR #120607)

2024-12-19 Thread Dhruv Srivastava via lldb-commits
https://github.com/DhruvSrivastavaX edited https://github.com/llvm/llvm-project/pull/120607 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][debugserver] Read/write SME registers on arm64 (PR #119171)

2024-12-19 Thread Digant Desai via lldb-commits
digantdesai wrote: Thanks. https://github.com/llvm/llvm-project/pull/119171 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][debugserver] Read/write SME registers on arm64 (PR #119171)

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

[Lldb-commits] [lldb] [lldb][AIX] Adding AIX version of ptrace64 (PR #120390)

2024-12-19 Thread Dhruv Srivastava via lldb-commits
https://github.com/DhruvSrivastavaX updated https://github.com/llvm/llvm-project/pull/120390 >From 6361863d1533361146677c3bac8ce325ed2721a9 Mon Sep 17 00:00:00 2001 From: Dhruv-Srivastava Date: Wed, 18 Dec 2024 03:10:23 -0600 Subject: [PATCH 1/2] Added AIX version of ptrace --- lldb/source/Ho

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

2024-12-19 Thread Dhruv Srivastava via lldb-commits
https://github.com/DhruvSrivastavaX updated https://github.com/llvm/llvm-project/pull/119694 >From b8807f815956ac46e8b518a88cda79d16a4ec72c Mon Sep 17 00:00:00 2001 From: Dhruv-Srivastava Date: Thu, 12 Dec 2024 06:06:47 -0600 Subject: [PATCH 1/3] Moving APIs from HostInfoLinux to HostInfoPosix

[Lldb-commits] [lldb] [lldb][AIX] GetOpt support in AIX (PR #120574)

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

[Lldb-commits] [lldb] eba7690 - [lldb][AIX] GetOpt support in AIX (#120574)

2024-12-19 Thread via lldb-commits
Author: Dhruv Srivastava Date: 2024-12-19T13:50:27Z New Revision: eba7690d2b94ebe7fcf3e8ceecd4486f328de035 URL: https://github.com/llvm/llvm-project/commit/eba7690d2b94ebe7fcf3e8ceecd4486f328de035 DIFF: https://github.com/llvm/llvm-project/commit/eba7690d2b94ebe7fcf3e8ceecd4486f328de035.diff L

[Lldb-commits] [lldb] [lldb][AIX] GetOpt support in AIX (PR #120574)

2024-12-19 Thread David Spickett via lldb-commits
DavidSpickett wrote: https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access My understanding is that this also allows you to add reviewers directly, and other non-commit things that are useful. https://github.com/llvm/llvm-project/pull/120574 ___

[Lldb-commits] [lldb] [lldb][AIX] GetOpt support in AIX (PR #120574)

2024-12-19 Thread Dhruv Srivastava via lldb-commits
DhruvSrivastavaX wrote: Great. Thanks alot! https://github.com/llvm/llvm-project/pull/120574 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration DIE's SymbolFile (PR #120569)

2024-12-19 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/120569 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration DIE's SymbolFile (PR #120569)

2024-12-19 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/120569 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration DIE's SymbolFile (PR #120569)

2024-12-19 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/120569 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration DIE's SymbolFile (PR #120569)

2024-12-19 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/120569 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][AIX] GetOpt support in AIX (PR #120574)

2024-12-19 Thread Dhruv Srivastava via lldb-commits
https://github.com/DhruvSrivastavaX created https://github.com/llvm/llvm-project/pull/120574 This PR is in reference to porting LLDB on AIX. Link to discussions on llvm discourse and github: 1. https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640 2. https://github.com/llvm/llvm-project/issu

[Lldb-commits] [lldb] [lldb][AIX] GetOpt support in AIX (PR #120574)

2024-12-19 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dhruv Srivastava (DhruvSrivastavaX) Changes This PR is in reference to porting LLDB on AIX. Link to discussions on llvm discourse and github: 1. https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640 2. https://github.com/llvm/llvm-projec

[Lldb-commits] [lldb] [lldb][AIX] clang-format changes for ProcessLauncherPosixFork.cpp (PR #120459)

2024-12-19 Thread David Spickett via lldb-commits
DavidSpickett wrote: Thanks! https://github.com/llvm/llvm-project/pull/120459 ___ 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 generic APIs from HostInfoLinux to HostInfoPosix (PR #119694)

2024-12-19 Thread Dhruv Srivastava via lldb-commits
DhruvSrivastavaX wrote: Sure, Done with the changes. Thanks! https://github.com/llvm/llvm-project/pull/119694 ___ 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-19 Thread Dhruv Srivastava via lldb-commits
DhruvSrivastavaX wrote: The changes are done. Please let me know if it is okay now. @labath @DavidSpickett https://github.com/llvm/llvm-project/pull/119694 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailm

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

2024-12-19 Thread Dhruv Srivastava 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][debugserver] Read/write SME registers on arm64 (PR #119171)

2024-12-19 Thread David Spickett via lldb-commits
DavidSpickett wrote: I've taken the liberty of repeating the fact that the required APIs are not in a publicly available OS release, at the top of the PR description. Since we had someone on Discord try this and they could not read the registers. Might save a few enthusiasts some time if they

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration DIE's SymbolFile (PR #120569)

2024-12-19 Thread Michael Buch via lldb-commits
@@ -1593,7 +1593,9 @@ bool SymbolFileDWARF::CompleteType(CompilerType &compiler_type) { DWARFASTParser *dwarf_ast = GetDWARFParser(*def_die.GetCU()); if (!dwarf_ast) return false; - Type *type = GetDIEToType().lookup(decl_die.GetDIE()); + Type *type = decl_die.GetDWA

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration DIE's SymbolFile (PR #120569)

2024-12-19 Thread Adrian Prantl via lldb-commits
https://github.com/adrian-prantl approved this pull request. https://github.com/llvm/llvm-project/pull/120569 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration DIE's SymbolFile (PR #120569)

2024-12-19 Thread Adrian Prantl via lldb-commits
@@ -1593,7 +1593,9 @@ bool SymbolFileDWARF::CompleteType(CompilerType &compiler_type) { DWARFASTParser *dwarf_ast = GetDWARFParser(*def_die.GetCU()); if (!dwarf_ast) return false; - Type *type = GetDIEToType().lookup(decl_die.GetDIE()); + Type *type = decl_die.GetDWA

[Lldb-commits] [lldb] 46e7823 - [lldb][debugserver] Read/write SME registers on arm64 (#119171)

2024-12-19 Thread via lldb-commits
Author: Jason Molenda Date: 2024-12-19T09:57:27-08:00 New Revision: 46e782300765eeac8026377bf30d5f0c2b25 URL: https://github.com/llvm/llvm-project/commit/46e782300765eeac8026377bf30d5f0c2b25 DIFF: https://github.com/llvm/llvm-project/commit/46e782300765eeac8026377bf30d5f0c2b25.diff

[Lldb-commits] [lldb] [lldb][debugserver] Read/write SME registers on arm64 (PR #119171)

2024-12-19 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda closed https://github.com/llvm/llvm-project/pull/119171 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 2210da3 - [lldb][AIX] clang-format changes for ProcessLauncherPosixFork.cpp (#120459)

2024-12-19 Thread via lldb-commits
Author: Dhruv Srivastava Date: 2024-12-19T09:23:02Z New Revision: 2210da3b823ccf21fc634c858827c9f12c864b51 URL: https://github.com/llvm/llvm-project/commit/2210da3b823ccf21fc634c858827c9f12c864b51 DIFF: https://github.com/llvm/llvm-project/commit/2210da3b823ccf21fc634c858827c9f12c864b51.diff L

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

2024-12-19 Thread David Spickett via lldb-commits
@@ -139,8 +178,38 @@ FileSpec HostInfoPosix::GetDefaultShell() { return FileSpec("/bin/sh"); } +// Keeping the original one for reference +// bool HostInfoPosix::ComputeSupportExeDirectory(FileSpec &file_spec) { +// return ComputePathRelativeToLibrary(file_spec, "/bin"); +/

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

2024-12-19 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett edited https://github.com/llvm/llvm-project/pull/119694 ___ 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-19 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett edited https://github.com/llvm/llvm-project/pull/119694 ___ 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 generic APIs from HostInfoLinux to HostInfoPosix (PR #119694)

2024-12-19 Thread David Spickett via lldb-commits
DavidSpickett wrote: Just need to remove the commented code and then I'm happy with this. I also edited your PR description to be ready for merging. @labath should confirm that their final comment was addressed and approve if so. https://github.com/llvm/llvm-project/pull/119694 ___

[Lldb-commits] [lldb] [lldb][AIX] clang-format changes for ProcessLauncherPosixFork.cpp (PR #120459)

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

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration … (PR #120569)

2024-12-19 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/120569 …DIE's SymbolFile The problem here manifests as follows: 1. We are stopped in main.o, so the first `ParseTypeFromDWARF` on `FooImpl` gets called on `main.o`'s SymbolFile. This adds a mapping from *declarati

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration … (PR #120569)

2024-12-19 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Michael Buch (Michael137) Changes …DIE's SymbolFile The problem here manifests as follows: 1. We are stopped in main.o, so the first `ParseTypeFromDWARF` on `FooImpl` gets called on `main.o`'s SymbolFile. This adds a mapping from *d

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration … (PR #120569)

2024-12-19 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 3769fcb3e78eba5f3e34d1c2dfa994625edb005a 9aa49efdcde5887e8de6bcd6cfbb08c0a499e24b --e

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration … (PR #120569)

2024-12-19 Thread via lldb-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r 3769fcb3e78eba5f3e34d1c2dfa994625edb005a...9aa49efdcde5887e8de6bcd6cfbb08c0a499e24b lldb/

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration … (PR #120569)

2024-12-19 Thread Michael Buch via lldb-commits
Michael137 wrote: The opens a couple cans of worms (though I think this fix still makes sense in isolation): 1. This one might be by design and hard to change at this point but do we want to silently ignore failures to resolve a type in `ResolveCompilerType`?: https://github.com/llvm/llvm-proj

[Lldb-commits] [lldb] [lldb][LoongArch] Fix the incorrect floating-point register dwarf number (PR #120391)

2024-12-19 Thread Lu Weining via lldb-commits
https://github.com/SixWeining approved this pull request. https://github.com/llvm/llvm-project/pull/120391 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration … (PR #120569)

2024-12-19 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/120569 >From 9aa49efdcde5887e8de6bcd6cfbb08c0a499e24b Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Thu, 19 Dec 2024 12:25:19 + Subject: [PATCH 1/3] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the

[Lldb-commits] [lldb] 527595f - [lldb][Mach-O] Initialize cputype/cpusubtype in test corefiles (#120518)

2024-12-19 Thread via lldb-commits
Author: Jason Molenda Date: 2024-12-19T08:58:36-08:00 New Revision: 527595f92789f9701a4b91ab32b792034352f78d URL: https://github.com/llvm/llvm-project/commit/527595f92789f9701a4b91ab32b792034352f78d DIFF: https://github.com/llvm/llvm-project/commit/527595f92789f9701a4b91ab32b792034352f78d.diff

[Lldb-commits] [lldb] [lldb][Mach-O] Initialize cputype/cpusubtype in test corefiles (PR #120518)

2024-12-19 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda closed https://github.com/llvm/llvm-project/pull/120518 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Fix address to read segment data (PR #120655)

2024-12-19 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: None (GeorgeHuyubo) Changes Previous commit https://github.com/llvm/llvm-project/commit/bcf654c7f5fb84dd7cff5fe112d96658853cd8f5 introduced a bug which makes lldb unable to parse gnu build id for the main executable from a core file. This

[Lldb-commits] [lldb] [lldb] Fix address to read segment data (PR #120655)

2024-12-19 Thread via lldb-commits
https://github.com/GeorgeHuyubo created https://github.com/llvm/llvm-project/pull/120655 Previous commit https://github.com/llvm/llvm-project/commit/bcf654c7f5fb84dd7cff5fe112d96658853cd8f5 introduced a bug which makes lldb unable to parse gnu build id for the main executable from a core file.

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration DIE's SymbolFile (PR #120569)

2024-12-19 Thread Zequan Wu via lldb-commits
ZequanWu wrote: > > > In which case, GetDIEToType().lookup(decl_die) will return a nullptr. > > > This is already a bit iffy because some of the surrounding code assumes > > > we don't call CompleteTypeFromDWARF with a nullptr Type*. E.g., > > > CompleteEnumType blindly dereferences it (though

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration DIE's SymbolFile (PR #120569)

2024-12-19 Thread Zequan Wu via lldb-commits
ZequanWu wrote: > In which case, GetDIEToType().lookup(decl_die) will return a nullptr. This is > already a bit iffy because some of the surrounding code assumes we don't call > CompleteTypeFromDWARF with a nullptr Type*. E.g., CompleteEnumType blindly > dereferences it (though enums will neve

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration DIE's SymbolFile (PR #120569)

2024-12-19 Thread Zequan Wu via lldb-commits
ZequanWu wrote: > CompleteRecordType will call UpdateToDefDIE, which will update the > Declaration stored in the map to something non-zero (we get it from the > ParsedDWARFTypeAttributes(def_die)). Ah, I missed this part. Thanks for the explanation. Also thanks for fixing those bugs introduce

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration DIE's SymbolFile (PR #120569)

2024-12-19 Thread Michael Buch via lldb-commits
Michael137 wrote: > > In which case, GetDIEToType().lookup(decl_die) will return a nullptr. This > > is already a bit iffy because some of the surrounding code assumes we don't > > call CompleteTypeFromDWARF with a nullptr Type*. E.g., CompleteEnumType > > blindly dereferences it (though enums

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

2024-12-19 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond updated https://github.com/llvm/llvm-project/pull/120171 >From fcad0a35ec2e10ec90591079d05c3b1726d22967 Mon Sep 17 00:00:00 2001 From: Jacob Lalonde Date: Mon, 16 Dec 2024 17:57:44 -0800 Subject: [PATCH 1/5] Add external progress bit category --- lldb/include/lldb/C

[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration DIE's SymbolFile (PR #120569)

2024-12-19 Thread Michael Buch via lldb-commits
Michael137 wrote: > > > > In which case, GetDIEToType().lookup(decl_die) will return a nullptr. > > > > This is already a bit iffy because some of the surrounding code assumes > > > > we don't call CompleteTypeFromDWARF with a nullptr Type*. E.g., > > > > CompleteEnumType blindly dereferences

[Lldb-commits] [lldb] [lldb][LoongArch] Fix the incorrect floating-point register dwarf number (PR #120391)

2024-12-19 Thread via lldb-commits
https://github.com/wangleiat closed https://github.com/llvm/llvm-project/pull/120391 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][LoongArch] Add LSX and LASX register definitions and operations (PR #120664)

2024-12-19 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: wanglei (wangleiat) Changes With this patch, vector registers can be read and written. --- Patch is 27.59 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/120664.diff 11 Files Affected: - (mod

[Lldb-commits] [lldb] eb1b9fc - [lldb][LoongArch] Fix the incorrect floating-point register dwarf number

2024-12-19 Thread via lldb-commits
Author: wanglei Date: 2024-12-20T09:03:08+08:00 New Revision: eb1b9fca9ca66d051179d8d2f35edb4624118b26 URL: https://github.com/llvm/llvm-project/commit/eb1b9fca9ca66d051179d8d2f35edb4624118b26 DIFF: https://github.com/llvm/llvm-project/commit/eb1b9fca9ca66d051179d8d2f35edb4624118b26.diff LOG:

[Lldb-commits] [lldb] [LLDB][LoongArch] Add LSX and LASX register definitions and operations (PR #120664)

2024-12-19 Thread via lldb-commits
https://github.com/wangleiat created https://github.com/llvm/llvm-project/pull/120664 With this patch, vector registers can be read and written. >From 7e56f86ec79865de0c2bc49ffa3f9f2b17a6f36f Mon Sep 17 00:00:00 2001 From: wanglei Date: Fri, 20 Dec 2024 09:10:10 +0800 Subject: [PATCH] =?UTF-8