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
@@ -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 *
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
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
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
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
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
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
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
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
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
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
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
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
___
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
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
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
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
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
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
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
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
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
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
@@ -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
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
@@ -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
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
@@ -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
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
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
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
@@ -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");
+/
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
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
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
___
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
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
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
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
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/
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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:
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
58 matches
Mail list logo