[Lldb-commits] [lldb] [lldb] Extend FindTypes to optionally search by mangled type name (PR #113007)

2024-10-19 Thread Michael Buch via lldb-commits
@@ -453,7 +474,7 @@ static void GetTypeLookupContextImpl(DWARFDIE die, break; case DW_TAG_typedef: push_ctx(CompilerContextKind::Typedef, die.GetName()); - break; + break; Michael137 wrote: something weird happened to the format here ht

[Lldb-commits] [lldb] [lldb] Extend FindTypes to optionally search by mangled type name (PR #113007)

2024-10-19 Thread Michael Buch via lldb-commits
@@ -1032,10 +1032,16 @@ void SymbolFileCTF::FindTypes(const lldb_private::TypeQuery &match, ConstString name = match.GetTypeBasename(); for (TypeSP type_sp : GetTypeList().Types()) { -if (type_sp && type_sp->GetName() == name) { - results.InsertUnique(type_sp); -

[Lldb-commits] [lldb] [lldb] Extend FindTypes to optionally search by mangled type name (PR #113007)

2024-10-19 Thread Michael Buch via lldb-commits
@@ -434,6 +442,19 @@ static void GetTypeLookupContextImpl(DWARFDIE die, auto push_ctx = [&](CompilerContextKind kind, llvm::StringRef name) { context.push_back({kind, ConstString(name)}); }; + +// Since mangled names are unique there's no need to build an enti

[Lldb-commits] [lldb] [lldb] Extend FindTypes to optionally search by mangled type name (PR #113007)

2024-10-19 Thread Michael Buch via lldb-commits
@@ -2762,7 +2762,7 @@ void SymbolFileDWARF::FindTypes(const TypeQuery &query, TypeResults &results) { if (query.GetModuleSearch()) die_context = die.GetDeclContext(); else - die_context = die.GetTypeLookupContext(); + die_context = die.GetTypeLookupCont

[Lldb-commits] [lldb] 697a455 - More aggressively deduplicate global warnings based on contents. (#112801)

2024-10-19 Thread via lldb-commits
Author: Adrian Prantl Date: 2024-10-19T09:38:25-07:00 New Revision: 697a455e6fecf364c1ac4ff9874aefddf2952454 URL: https://github.com/llvm/llvm-project/commit/697a455e6fecf364c1ac4ff9874aefddf2952454 DIFF: https://github.com/llvm/llvm-project/commit/697a455e6fecf364c1ac4ff9874aefddf2952454.diff

[Lldb-commits] [lldb] More aggressively deduplicate global warnings based on contents. (PR #112801)

2024-10-19 Thread Adrian Prantl via lldb-commits
https://github.com/adrian-prantl closed https://github.com/llvm/llvm-project/pull/112801 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] faed85b - [lldb][test][NFC] Document DYLIB_NAME Makefile variable (#112735)

2024-10-19 Thread via lldb-commits
Author: Michael Buch Date: 2024-10-19T10:07:57+01:00 New Revision: faed85b8e4961e853bfb10cd8ed1544e179ade0a URL: https://github.com/llvm/llvm-project/commit/faed85b8e4961e853bfb10cd8ed1544e179ade0a DIFF: https://github.com/llvm/llvm-project/commit/faed85b8e4961e853bfb10cd8ed1544e179ade0a.diff

[Lldb-commits] [lldb] [lldb][test][NFC] Document DYLIB_NAME Makefile variable (PR #112735)

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

[Lldb-commits] [lldb] [lldb][ClangASTImporter][NFC] Emit a log message when we break MapImported invariant (PR #112748)

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

[Lldb-commits] [lldb] aa32060 - [lldb][ClangASTImporter][NFC] Emit a log message when we break MapImported invariant (#112748)

2024-10-19 Thread via lldb-commits
Author: Michael Buch Date: 2024-10-19T10:08:29+01:00 New Revision: aa320600e2b7136f5156dd0c31f98ec0f8d5bce1 URL: https://github.com/llvm/llvm-project/commit/aa320600e2b7136f5156dd0c31f98ec0f8d5bce1 DIFF: https://github.com/llvm/llvm-project/commit/aa320600e2b7136f5156dd0c31f98ec0f8d5bce1.diff

[Lldb-commits] [lldb] ca9f396 - [lldb] Avoid repeated hash lookups (NFC) (#113024)

2024-10-19 Thread via lldb-commits
Author: Kazu Hirata Date: 2024-10-19T14:39:25-07:00 New Revision: ca9f396cac0371a398eeef73182987a55a21e4a1 URL: https://github.com/llvm/llvm-project/commit/ca9f396cac0371a398eeef73182987a55a21e4a1 DIFF: https://github.com/llvm/llvm-project/commit/ca9f396cac0371a398eeef73182987a55a21e4a1.diff L

[Lldb-commits] [lldb] [lldb] Avoid repeated hash lookups (NFC) (PR #113024)

2024-10-19 Thread Kazu Hirata via lldb-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/113024 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Push down cpython module down (PR #113066)

2024-10-19 Thread via lldb-commits
https://github.com/dingxiangfei2009 created https://github.com/llvm/llvm-project/pull/113066 The fact that it is trying to load from the root Python module constitute a re-import of the `lldb` module that is still under bootstrapping, whenever `lldb` is loaded directly from Python. Pushing the

[Lldb-commits] [lldb] Push down cpython module down (PR #113066)

2024-10-19 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: wieDasDing (dingxiangfei2009) Changes The fact that it is trying to load from the root Python module constitute a re-import of the `lldb` module that is still under bootstrapping, whenever `lldb` is loaded directly from Python. Pushing the

[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #112079)

2024-10-19 Thread Robert O'Callahan via lldb-commits
rocallahan wrote: > @rocallahan does rr work on Mac? No, it doesn't. It does work on Linux AAarch64 though. > This didn't work because we also build lldb-server on macOS. Hmm, so lldb-server is built on macOS but we're not supposed to use it? https://github.com/llvm/llvm-project/pull/112079 _

[Lldb-commits] [lldb] [lldb] Avoid repeated hash lookups (NFC) (PR #113024)

2024-10-19 Thread Nikita Popov via lldb-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/113024 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Extend FindTypes to optionally search by mangled type name (PR #113007)

2024-10-19 Thread Michael Buch via lldb-commits
@@ -434,6 +442,19 @@ static void GetTypeLookupContextImpl(DWARFDIE die, auto push_ctx = [&](CompilerContextKind kind, llvm::StringRef name) { context.push_back({kind, ConstString(name)}); }; + +// Since mangled names are unique there's no need to build an enti

[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #112079)

2024-10-19 Thread Robert O'Callahan via lldb-commits
rocallahan wrote: I'd like the tests to work on Mac. I'm getting some assistance and we'll report back in a few days. https://github.com/llvm/llvm-project/pull/112079 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi

[Lldb-commits] [lldb] [lldb] Avoid repeated map lookups (NFC) (PR #113073)

2024-10-19 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/113073.diff 1 Files Affected: - (modified) lldb/source/Interpreter/Options.cpp (+2-5) ``diff diff --git a/lldb/source/Interpreter/O

[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #112079)

2024-10-19 Thread Med Ismail Bennani via lldb-commits
medismailben wrote: > > @rocallahan does rr work on Mac? > > No, it doesn't. It does work on Linux AAarch64 though. > > > This didn't work because we also build lldb-server on macOS. > > Hmm, so lldb-server is built on macOS but we're not supposed to use it? Yeah I was also surprised to see t

[Lldb-commits] [lldb] [lldb] Avoid repeated map lookups (NFC) (PR #113073)

2024-10-19 Thread Kazu Hirata via lldb-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/113073 None >From dbf7499daa94da6c395e3de56d8b69be48a3f08b Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 19 Oct 2024 18:08:57 -0700 Subject: [PATCH] [lldb] Avoid repeated map lookups (NFC) --- lldb/so

[Lldb-commits] [lldb] cd938bf - [lldb] Introduce Language::AreEquivalentFunctions (#112720)

2024-10-19 Thread via lldb-commits
Author: Felipe de Azevedo Piovezan Date: 2024-10-19T16:53:29-07:00 New Revision: cd938bf3279b6d2f1c0a8c82b6371a384d744378 URL: https://github.com/llvm/llvm-project/commit/cd938bf3279b6d2f1c0a8c82b6371a384d744378 DIFF: https://github.com/llvm/llvm-project/commit/cd938bf3279b6d2f1c0a8c82b6371a384

[Lldb-commits] [lldb] [lldb] Introduce Language::AreEquivalentFunctions (PR #112720)

2024-10-19 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan closed https://github.com/llvm/llvm-project/pull/112720 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits