Author: Adrian Prantl
Date: 2023-05-11T13:38:19-07:00
New Revision: 1585ee1077930d4a906b3265bb40a90ba4758c99
URL:
https://github.com/llvm/llvm-project/commit/1585ee1077930d4a906b3265bb40a90ba4758c99
DIFF:
https://github.com/llvm/llvm-project/commit/1585ee1077930d4a906b3265bb40a90ba4758c99.diff
Author: Adrian Prantl
Date: 2023-05-19T10:22:51-07:00
New Revision: aa2c2c8e3c3fe74f2b374b3fdc703ca7b05f80a0
URL:
https://github.com/llvm/llvm-project/commit/aa2c2c8e3c3fe74f2b374b3fdc703ca7b05f80a0
DIFF:
https://github.com/llvm/llvm-project/commit/aa2c2c8e3c3fe74f2b374b3fdc703ca7b05f80a0.diff
Author: Adrian Prantl
Date: 2023-05-19T10:52:00-07:00
New Revision: 85cb7fbc07e3a974e5c2580e650f61177c941a76
URL:
https://github.com/llvm/llvm-project/commit/85cb7fbc07e3a974e5c2580e650f61177c941a76
DIFF:
https://github.com/llvm/llvm-project/commit/85cb7fbc07e3a974e5c2580e650f61177c941a76.diff
Author: Adrian Prantl
Date: 2023-05-26T13:12:12-07:00
New Revision: cefd2802aa49274942da87edf5019b5a23315f01
URL:
https://github.com/llvm/llvm-project/commit/cefd2802aa49274942da87edf5019b5a23315f01
DIFF:
https://github.com/llvm/llvm-project/commit/cefd2802aa49274942da87edf5019b5a23315f01.diff
Author: Adrian Prantl
Date: 2023-05-26T13:51:46-07:00
New Revision: c45a649a9697ed25834feae946db3b962395a62a
URL:
https://github.com/llvm/llvm-project/commit/c45a649a9697ed25834feae946db3b962395a62a
DIFF:
https://github.com/llvm/llvm-project/commit/c45a649a9697ed25834feae946db3b962395a62a.diff
Author: Adrian Prantl
Date: 2023-05-26T13:51:46-07:00
New Revision: d9c898ab60b0b9291b23d66530961fe436a03a8a
URL:
https://github.com/llvm/llvm-project/commit/d9c898ab60b0b9291b23d66530961fe436a03a8a
DIFF:
https://github.com/llvm/llvm-project/commit/d9c898ab60b0b9291b23d66530961fe436a03a8a.diff
Author: Adrian Prantl
Date: 2023-05-31T14:46:35-07:00
New Revision: a5e9f2c81ebced1ea41060fc0d89b9233bc1b7be
URL:
https://github.com/llvm/llvm-project/commit/a5e9f2c81ebced1ea41060fc0d89b9233bc1b7be
DIFF:
https://github.com/llvm/llvm-project/commit/a5e9f2c81ebced1ea41060fc0d89b9233bc1b7be.diff
Author: Adrian Prantl
Date: 2023-05-31T14:46:35-07:00
New Revision: 7de43526e3cc07a02d01a0c4bf0670900495b938
URL:
https://github.com/llvm/llvm-project/commit/7de43526e3cc07a02d01a0c4bf0670900495b938
DIFF:
https://github.com/llvm/llvm-project/commit/7de43526e3cc07a02d01a0c4bf0670900495b938.diff
Author: paperchalice
Date: 2023-06-06T08:11:01-07:00
New Revision: 6c02e365711cab47ed9abe9f091c25651a3efd74
URL:
https://github.com/llvm/llvm-project/commit/6c02e365711cab47ed9abe9f091c25651a3efd74
DIFF:
https://github.com/llvm/llvm-project/commit/6c02e365711cab47ed9abe9f091c25651a3efd74.diff
Author: Adrian Prantl
Date: 2023-06-12T10:29:48-07:00
New Revision: 133c3eaac0a532380c3d6ad21a60da1490f51fb8
URL:
https://github.com/llvm/llvm-project/commit/133c3eaac0a532380c3d6ad21a60da1490f51fb8
DIFF:
https://github.com/llvm/llvm-project/commit/133c3eaac0a532380c3d6ad21a60da1490f51fb8.diff
Author: Adrian Prantl
Date: 2023-06-12T14:51:24-07:00
New Revision: 59b55818337b59f3e75511d9fb2b0b7b5e3d14a7
URL:
https://github.com/llvm/llvm-project/commit/59b55818337b59f3e75511d9fb2b0b7b5e3d14a7
DIFF:
https://github.com/llvm/llvm-project/commit/59b55818337b59f3e75511d9fb2b0b7b5e3d14a7.diff
Author: Adrian Prantl
Date: 2023-06-14T08:37:08-07:00
New Revision: 27fac4a72ae54a471471a69c0ad999585ccbb026
URL:
https://github.com/llvm/llvm-project/commit/27fac4a72ae54a471471a69c0ad999585ccbb026
DIFF:
https://github.com/llvm/llvm-project/commit/27fac4a72ae54a471471a69c0ad999585ccbb026.diff
Author: Adrian Prantl
Date: 2021-10-06T14:56:16-07:00
New Revision: 14aa3f3703b54854dcd5aa270f68515388420e6f
URL:
https://github.com/llvm/llvm-project/commit/14aa3f3703b54854dcd5aa270f68515388420e6f
DIFF:
https://github.com/llvm/llvm-project/commit/14aa3f3703b54854dcd5aa270f68515388420e6f.diff
Author: Adrian Prantl
Date: 2021-10-06T14:56:17-07:00
New Revision: 2edb9058ea635f950f67bf7cb52f76588d362dfc
URL:
https://github.com/llvm/llvm-project/commit/2edb9058ea635f950f67bf7cb52f76588d362dfc
DIFF:
https://github.com/llvm/llvm-project/commit/2edb9058ea635f950f67bf7cb52f76588d362dfc.diff
Author: Adrian Prantl
Date: 2021-10-06T14:56:17-07:00
New Revision: 8c5f3348af38843b5f0ca13e82cc285af4e3582d
URL:
https://github.com/llvm/llvm-project/commit/8c5f3348af38843b5f0ca13e82cc285af4e3582d
DIFF:
https://github.com/llvm/llvm-project/commit/8c5f3348af38843b5f0ca13e82cc285af4e3582d.diff
Author: Adrian Prantl
Date: 2021-10-07T13:54:28-07:00
New Revision: 4651576edd09bb4b0978db8592e938484e7bbd4f
URL:
https://github.com/llvm/llvm-project/commit/4651576edd09bb4b0978db8592e938484e7bbd4f
DIFF:
https://github.com/llvm/llvm-project/commit/4651576edd09bb4b0978db8592e938484e7bbd4f.diff
Author: Adrian Prantl
Date: 2021-11-09T09:44:37-08:00
New Revision: c9881c7d99c6e4073ed8de11cd3450ef23bd66fc
URL:
https://github.com/llvm/llvm-project/commit/c9881c7d99c6e4073ed8de11cd3450ef23bd66fc
DIFF:
https://github.com/llvm/llvm-project/commit/c9881c7d99c6e4073ed8de11cd3450ef23bd66fc.diff
Author: Adrian Prantl
Date: 2021-11-09T10:16:03-08:00
New Revision: 56f7da6e0d29139d7684b2dc08901fefb64e4fa1
URL:
https://github.com/llvm/llvm-project/commit/56f7da6e0d29139d7684b2dc08901fefb64e4fa1
DIFF:
https://github.com/llvm/llvm-project/commit/56f7da6e0d29139d7684b2dc08901fefb64e4fa1.diff
Author: Adrian Prantl
Date: 2021-11-09T10:47:26-08:00
New Revision: 68a4d179c2ac4c882f2d242b81748ceed66827ff
URL:
https://github.com/llvm/llvm-project/commit/68a4d179c2ac4c882f2d242b81748ceed66827ff
DIFF:
https://github.com/llvm/llvm-project/commit/68a4d179c2ac4c882f2d242b81748ceed66827ff.diff
Author: Adrian Prantl
Date: 2021-11-16T09:09:55-08:00
New Revision: 6424dc21bf6b73645ef98a35417e0591b2a95939
URL:
https://github.com/llvm/llvm-project/commit/6424dc21bf6b73645ef98a35417e0591b2a95939
DIFF:
https://github.com/llvm/llvm-project/commit/6424dc21bf6b73645ef98a35417e0591b2a95939.diff
Author: Adrian Prantl
Date: 2021-11-16T09:09:55-08:00
New Revision: 6e78cfb28ab545b7367306d43f88f29202c0ae12
URL:
https://github.com/llvm/llvm-project/commit/6e78cfb28ab545b7367306d43f88f29202c0ae12
DIFF:
https://github.com/llvm/llvm-project/commit/6e78cfb28ab545b7367306d43f88f29202c0ae12.diff
Author: Adrian Prantl
Date: 2021-11-16T09:09:56-08:00
New Revision: 948b36d2582c9cde913e434bd22814f01e85bdd6
URL:
https://github.com/llvm/llvm-project/commit/948b36d2582c9cde913e434bd22814f01e85bdd6
DIFF:
https://github.com/llvm/llvm-project/commit/948b36d2582c9cde913e434bd22814f01e85bdd6.diff
Author: Adrian Prantl
Date: 2021-11-16T09:17:47-08:00
New Revision: db5b960e2dd5b2c2eac1973345d162245efc1f39
URL:
https://github.com/llvm/llvm-project/commit/db5b960e2dd5b2c2eac1973345d162245efc1f39
DIFF:
https://github.com/llvm/llvm-project/commit/db5b960e2dd5b2c2eac1973345d162245efc1f39.diff
Author: Adrian Prantl
Date: 2021-11-18T08:51:50-08:00
New Revision: 08c0a45ab89c64195d8302d3cde20719cbd81d30
URL:
https://github.com/llvm/llvm-project/commit/08c0a45ab89c64195d8302d3cde20719cbd81d30
DIFF:
https://github.com/llvm/llvm-project/commit/08c0a45ab89c64195d8302d3cde20719cbd81d30.diff
Author: Adrian Prantl
Date: 2021-11-18T10:49:51-08:00
New Revision: 5cf23ecc23afa0e04e5b5e2b3ca8e9e3c988d9ec
URL:
https://github.com/llvm/llvm-project/commit/5cf23ecc23afa0e04e5b5e2b3ca8e9e3c988d9ec
DIFF:
https://github.com/llvm/llvm-project/commit/5cf23ecc23afa0e04e5b5e2b3ca8e9e3c988d9ec.diff
Author: Adrian Prantl
Date: 2021-11-18T14:00:53-08:00
New Revision: 721bb736764787bd03727196b734f74a6c8745e0
URL:
https://github.com/llvm/llvm-project/commit/721bb736764787bd03727196b734f74a6c8745e0
DIFF:
https://github.com/llvm/llvm-project/commit/721bb736764787bd03727196b734f74a6c8745e0.diff
Author: Adrian Prantl
Date: 2021-11-18T15:07:30-08:00
New Revision: cbb8b200a6566943d898e51b80769a648a47a04c
URL:
https://github.com/llvm/llvm-project/commit/cbb8b200a6566943d898e51b80769a648a47a04c
DIFF:
https://github.com/llvm/llvm-project/commit/cbb8b200a6566943d898e51b80769a648a47a04c.diff
Author: Adrian Prantl
Date: 2021-11-19T09:05:48-08:00
New Revision: 587a397917b267fb570cf9f6c7dd0f718b51d9de
URL:
https://github.com/llvm/llvm-project/commit/587a397917b267fb570cf9f6c7dd0f718b51d9de
DIFF:
https://github.com/llvm/llvm-project/commit/587a397917b267fb570cf9f6c7dd0f718b51d9de.diff
Author: Adrian Prantl
Date: 2021-11-29T13:14:35-08:00
New Revision: 4f215bfa6ee525b245b81462d75c3e1e47d18f13
URL:
https://github.com/llvm/llvm-project/commit/4f215bfa6ee525b245b81462d75c3e1e47d18f13
DIFF:
https://github.com/llvm/llvm-project/commit/4f215bfa6ee525b245b81462d75c3e1e47d18f13.diff
https://github.com/adrian-prantl approved this pull request.
Exciting!
https://github.com/llvm/llvm-project/pull/67841
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/adrian-prantl approved this pull request.
https://github.com/llvm/llvm-project/pull/68300
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -173,7 +173,16 @@ bool CommandObjectDWIMPrint::DoExecute(StringRef command,
auto *exe_scope = m_exe_ctx.GetBestExecutionContextScope();
ValueObjectSP valobj_sp;
ExpressionResults expr_result =
-target.EvaluateExpression(expr, exe_scope, valobj_sp, eval_op
@@ -173,7 +173,16 @@ bool CommandObjectDWIMPrint::DoExecute(StringRef command,
auto *exe_scope = m_exe_ctx.GetBestExecutionContextScope();
ValueObjectSP valobj_sp;
ExpressionResults expr_result =
-target.EvaluateExpression(expr, exe_scope, valobj_sp, eval_op
@@ -173,7 +173,16 @@ bool CommandObjectDWIMPrint::DoExecute(StringRef command,
auto *exe_scope = m_exe_ctx.GetBestExecutionContextScope();
ValueObjectSP valobj_sp;
ExpressionResults expr_result =
-target.EvaluateExpression(expr, exe_scope, valobj_sp, eval_op
@@ -0,0 +1,26 @@
+"""
+Tests whether the expression command applies FixIts
+"""
+import lldb
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+
+
+class CPP_Expression_FixIt_TestCase(TestBase):
+def test_with_
@@ -0,0 +1,27 @@
+"""
+Tests whether the do-what-I-mean (DWIM) print `po` alias applies FixIts like
`expr` does
+"""
+import lldb
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+
+
+class CPP_DWIM_Fixit_TestCas
@@ -0,0 +1,26 @@
+"""
+Tests whether the expression command applies FixIts
+"""
+import lldb
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+
+
+class CPP_Expression_FixIt_TestCase(TestBase):
+def test_with_
@@ -0,0 +1,27 @@
+"""
+Tests whether the do-what-I-mean (DWIM) print `po` alias applies FixIts like
`expr` does
+"""
+import lldb
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+
+
+class CPP_DWIM_Fixit_TestCas
@@ -172,8 +172,18 @@ bool CommandObjectDWIMPrint::DoExecute(StringRef command,
{
auto *exe_scope = m_exe_ctx.GetBestExecutionContextScope();
ValueObjectSP valobj_sp;
-ExpressionResults expr_result =
-target.EvaluateExpression(expr, exe_scope, valobj_sp, ev
@@ -173,7 +173,16 @@ bool CommandObjectDWIMPrint::DoExecute(StringRef command,
auto *exe_scope = m_exe_ctx.GetBestExecutionContextScope();
ValueObjectSP valobj_sp;
ExpressionResults expr_result =
-target.EvaluateExpression(expr, exe_scope, valobj_sp, eval_op
https://github.com/adrian-prantl approved this pull request.
https://github.com/llvm/llvm-project/pull/68452
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/adrian-prantl closed
https://github.com/llvm/llvm-project/pull/68452
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Adrian Prantl
Date: 2023-10-10T14:56:00-07:00
New Revision: 2e59b7550e3678a10be1a26f651488fc665a1f09
URL:
https://github.com/llvm/llvm-project/commit/2e59b7550e3678a10be1a26f651488fc665a1f09
DIFF:
https://github.com/llvm/llvm-project/commit/2e59b7550e3678a10be1a26f651488fc665a1f09.diff
@@ -169,21 +169,49 @@ static lldb::Format GetItemFormatForFormat(lldb::Format
format,
}
}
-static size_t CalculateNumChildren(
-CompilerType container_type, CompilerType element_type,
-lldb_private::ExecutionContextScope *exe_scope =
-nullptr // does not mat
@@ -169,21 +169,49 @@ static lldb::Format GetItemFormatForFormat(lldb::Format
format,
}
}
-static size_t CalculateNumChildren(
-CompilerType container_type, CompilerType element_type,
-lldb_private::ExecutionContextScope *exe_scope =
-nullptr // does not mat
https://github.com/adrian-prantl approved this pull request.
https://github.com/llvm/llvm-project/pull/68907
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
adrian-prantl wrote:
I'm testing this locally now and will then merge
https://github.com/llvm/llvm-project/pull/68755
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/adrian-prantl closed
https://github.com/llvm/llvm-project/pull/68755
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/adrian-prantl created
https://github.com/llvm/llvm-project/pull/69981
I need this API in the Swift plugin, but it seems generally useful enough to
expose it in the main branch.
>From 6b41e8ccaf7c3daf787cb7f7399ba815c5fe5b77 Mon Sep 17 00:00:00 2001
From: Adrian Prantl
Date:
@@ -142,8 +142,7 @@ TypeSP DWARFASTParserClang::ParseTypeFromClangModule(const
SymbolContext &sc,
// If this type comes from a Clang module, recursively look in the
// DWARF section of the .pcm file in the module cache. Clang
// generates DWO skeleton units as breadcrumb
https://github.com/adrian-prantl updated
https://github.com/llvm/llvm-project/pull/69981
>From 037a18f413cfabd3d0fdd1f1eb2fd0867ac33ecd Mon Sep 17 00:00:00 2001
From: Adrian Prantl
Date: Mon, 23 Oct 2023 15:55:40 -0700
Subject: [PATCH] Expose DWARFDIE::GetDeclContext() in lldb_private::Function
https://github.com/adrian-prantl updated
https://github.com/llvm/llvm-project/pull/69981
>From 8ef2fc770ac08aa4e5411a16a04fbe8a1dcb8233 Mon Sep 17 00:00:00 2001
From: Adrian Prantl
Date: Mon, 23 Oct 2023 15:55:40 -0700
Subject: [PATCH] Expose DWARFDIE::GetDeclContext() in lldb_private::Function
@@ -396,6 +396,17 @@ void Function::GetDescription(Stream *s,
lldb::DescriptionLevel level,
s->AsRawOstream() << ", name = \"" << name << '"';
if (mangled)
s->AsRawOstream() << ", mangled = \"" << mangled << '"';
+ if (level == eDescriptionLevelVerbose) {
+*s <<
@@ -322,10 +322,12 @@ std::vector parseCompilerContext() {
}
result.push_back({kind, ConstString{value}});
}
- outs() << "Search context: {\n";
- for (auto entry: result)
-entry.Dump();
- outs() << "}\n";
+ outs() << "Search context: {";
+ lldb_private::Strea
@@ -26,7 +26,7 @@
// CHECK-ANON-S1: CXXRecordDecl {{.*}} imported in A struct
StructB s3;
-// CHECK-ANON-S2: CXXRecordDecl {{.*}} imported in A.B {{.*}} struct
+// CHECK-ANON-S2: CXXRecordDecl {{.*}} imported in A.B {{.*}}struct
adrian-prantl wrote:
In case s
https://github.com/adrian-prantl updated
https://github.com/llvm/llvm-project/pull/69981
>From 367431f51f5f75b2035e6bac7944fc0a03ca3cc0 Mon Sep 17 00:00:00 2001
From: Adrian Prantl
Date: Mon, 23 Oct 2023 15:55:40 -0700
Subject: [PATCH] Expose DWARFDIE::GetDeclContext() in lldb_private::Function
@@ -34,7 +34,7 @@ struct CompilerContext {
}
bool operator!=(const CompilerContext &rhs) const { return !(*this == rhs); }
- void Dump() const;
+ void Dump(Stream *s) const;
adrian-prantl wrote:
Sounds good to me!
https://github.com/llvm/llvm-project/p
https://github.com/adrian-prantl updated
https://github.com/llvm/llvm-project/pull/69981
>From b60b12b15d431d291032427a76473eb5f3661cb4 Mon Sep 17 00:00:00 2001
From: Adrian Prantl
Date: Mon, 23 Oct 2023 15:55:40 -0700
Subject: [PATCH] Expose DWARFDIE::GetDeclContext() in lldb_private::Function
https://github.com/adrian-prantl closed
https://github.com/llvm/llvm-project/pull/69981
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/adrian-prantl closed
https://github.com/llvm/llvm-project/pull/69989
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Adrian Prantl
Date: 2023-10-25T16:42:37-07:00
New Revision: b82c62978690a8a518f22780bd13ac2b5ddcd2b8
URL:
https://github.com/llvm/llvm-project/commit/b82c62978690a8a518f22780bd13ac2b5ddcd2b8
DIFF:
https://github.com/llvm/llvm-project/commit/b82c62978690a8a518f22780bd13ac2b5ddcd2b8.diff
https://github.com/adrian-prantl created
https://github.com/llvm/llvm-project/pull/70528
The code was incorrectly going into the wrong direction by removing one
component instead of appendeing /Developer to it. Due to fallback mechanisms in
xcrun this never seemed to have caused any issues.
>
https://github.com/adrian-prantl approved this pull request.
https://github.com/llvm/llvm-project/pull/70544
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -461,13 +461,11 @@ static void ParseOSVersion(llvm::VersionTuple &version,
NSString *Key) {
// Invoke xcrun with the shlib dir.
if (FileSpec fspec = HostInfo::GetShlibDir()) {
if (FileSystem::Instance().Exists(fspec)) {
-std::string contents_dir =
-
https://github.com/adrian-prantl closed
https://github.com/llvm/llvm-project/pull/70528
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/adrian-prantl created
https://github.com/llvm/llvm-project/pull/70716
In the rare case that an Xcode installation is damaged, this output could
contain clues to further diagnose the issue.
rdar://117698630
>From 8a3b45751c033483266e91b30af22d5bd8d17e2c Mon Sep 17 00:00:0
https://github.com/adrian-prantl closed
https://github.com/llvm/llvm-project/pull/69991
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/adrian-prantl closed
https://github.com/llvm/llvm-project/pull/70716
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/adrian-prantl approved this pull request.
https://github.com/llvm/llvm-project/pull/71004
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -373,6 +373,17 @@ class DWARFASTParserClang : public
lldb_private::plugin::dwarf::DWARFASTParser {
lldb_private::CompilerType &class_clang_type,
const lldb::AccessType default_accesibility,
lldb_private::C
https://github.com/adrian-prantl edited
https://github.com/llvm/llvm-project/pull/71004
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -139,4 +139,16 @@
#define LLDB_DEPRECATED_FIXME(MSG, FIX) LLDB_DEPRECATED(MSG)
#endif
+// When asserts are enabled, use an assert to check expr. If they are not
+// enabled, return the value retval if expr is not true. Used when a hard
+// failure is useful during developme
adrian-prantl wrote:
Since ReadRegister returns a Status anyway, this shouldn't be too difficult to
achieve?
https://github.com/llvm/llvm-project/pull/71175
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailm
@@ -300,6 +300,16 @@ size_t
SourceManager::DisplaySourceLinesWithLineNumbersUsingLastFile(
break;
}
}
+
+Checksum checksum = last_file_sp->GetFileSpec().GetChecksum();
+if (checksum && checksum != last_file_sp->GetChecksum()) {
+ llvm::call_once(
@@ -300,6 +300,16 @@ size_t
SourceManager::DisplaySourceLinesWithLineNumbersUsingLastFile(
break;
}
}
+
+Checksum checksum = last_file_sp->GetFileSpec().GetChecksum();
+if (checksum && checksum != last_file_sp->GetChecksum()) {
+ llvm::call_once(
https://github.com/adrian-prantl created
https://github.com/llvm/llvm-project/pull/71559
I received a couple of nullptr-deref crash reports with no line numbers in this
function. The way the function was written it was a bit diffucult to keep track
of when result_sp could be null, so this patc
adrian-prantl wrote:
rdar://118018930
https://github.com/llvm/llvm-project/pull/71559
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/adrian-prantl closed
https://github.com/llvm/llvm-project/pull/71559
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/adrian-prantl approved this pull request.
https://github.com/llvm/llvm-project/pull/71800
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/adrian-prantl edited
https://github.com/llvm/llvm-project/pull/71780
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -5596,6 +5587,42 @@ void CGDebugInfo::EmitGlobalVariable(const ValueDecl
*VD, const APValue &Init) {
TemplateParameters, Align));
}
+void CGDebugInfo::EmitGlobalVariable(const VarDecl *VD) {
+ assert(VD->hasInit());
+ assert(CGM.getCodeGenOpts().hasReducedDebugInfo
https://github.com/adrian-prantl approved this pull request.
Minor comments inside.
https://github.com/llvm/llvm-project/pull/71780
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -5800,6 +5827,18 @@ void CGDebugInfo::setDwoId(uint64_t Signature) {
}
void CGDebugInfo::finalize() {
+ for (auto const *VD : StaticDataMemberDefinitionsToEmit) {
+assert(VD->isStaticDataMember());
+
+if (DeclCache.contains(VD))
+ continue;
+
+if (!VD->has
https://github.com/adrian-prantl approved this pull request.
https://github.com/llvm/llvm-project/pull/71021
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
adrian-prantl wrote:
> I'm arguing it doesn't fit it particularly well. We use it for bit fields -
> which are pretty special, for instance, but it seems like this thing isn't
> quite like that - it does have a whole byte size (if you allocated an array
> of them, for instance, I'm guessing th
Author: Adrian Prantl
Date: 2022-09-01T16:39:35-07:00
New Revision: ced4e0006fab22f37a165635896a6776f79bc4a9
URL:
https://github.com/llvm/llvm-project/commit/ced4e0006fab22f37a165635896a6776f79bc4a9
DIFF:
https://github.com/llvm/llvm-project/commit/ced4e0006fab22f37a165635896a6776f79bc4a9.diff
Author: Adrian Prantl
Date: 2022-09-02T18:14:23-07:00
New Revision: 603d5a8d632164038a869c200818c4cc238bb85a
URL:
https://github.com/llvm/llvm-project/commit/603d5a8d632164038a869c200818c4cc238bb85a
DIFF:
https://github.com/llvm/llvm-project/commit/603d5a8d632164038a869c200818c4cc238bb85a.diff
Author: Adrian Prantl
Date: 2022-09-09T10:43:03-07:00
New Revision: c988965efb2ce8fd867b86d4b893654943d11642
URL:
https://github.com/llvm/llvm-project/commit/c988965efb2ce8fd867b86d4b893654943d11642
DIFF:
https://github.com/llvm/llvm-project/commit/c988965efb2ce8fd867b86d4b893654943d11642.diff
Author: Adrian Prantl
Date: 2022-09-09T15:58:55-07:00
New Revision: 2f4a66eed68804929efa1ad3c10fc040a67fb3ff
URL:
https://github.com/llvm/llvm-project/commit/2f4a66eed68804929efa1ad3c10fc040a67fb3ff
DIFF:
https://github.com/llvm/llvm-project/commit/2f4a66eed68804929efa1ad3c10fc040a67fb3ff.diff
Author: Adrian Prantl
Date: 2022-09-09T17:49:11-07:00
New Revision: 1f47352ce7e84b2d2692aecdab19932f7abff589
URL:
https://github.com/llvm/llvm-project/commit/1f47352ce7e84b2d2692aecdab19932f7abff589
DIFF:
https://github.com/llvm/llvm-project/commit/1f47352ce7e84b2d2692aecdab19932f7abff589.diff
Author: Adrian Prantl
Date: 2022-09-12T09:48:42-07:00
New Revision: 8599cb002b635bb6bedeaebe622be333d579697b
URL:
https://github.com/llvm/llvm-project/commit/8599cb002b635bb6bedeaebe622be333d579697b
DIFF:
https://github.com/llvm/llvm-project/commit/8599cb002b635bb6bedeaebe622be333d579697b.diff
Author: Adrian Prantl
Date: 2022-09-12T16:36:56-07:00
New Revision: 1910eeb59f38f32a3ab25e3fb6f555cb35f4e5ed
URL:
https://github.com/llvm/llvm-project/commit/1910eeb59f38f32a3ab25e3fb6f555cb35f4e5ed
DIFF:
https://github.com/llvm/llvm-project/commit/1910eeb59f38f32a3ab25e3fb6f555cb35f4e5ed.diff
Author: Adrian Prantl
Date: 2022-09-12T16:47:46-07:00
New Revision: 455aff72ce45982ae94e88d8b5474411a520047d
URL:
https://github.com/llvm/llvm-project/commit/455aff72ce45982ae94e88d8b5474411a520047d
DIFF:
https://github.com/llvm/llvm-project/commit/455aff72ce45982ae94e88d8b5474411a520047d.diff
Author: Adrian Prantl
Date: 2022-09-12T16:51:17-07:00
New Revision: c9ccaf176de7d7104492e19484f18e4b3ec1ba42
URL:
https://github.com/llvm/llvm-project/commit/c9ccaf176de7d7104492e19484f18e4b3ec1ba42
DIFF:
https://github.com/llvm/llvm-project/commit/c9ccaf176de7d7104492e19484f18e4b3ec1ba42.diff
Author: Adrian Prantl
Date: 2022-09-26T17:17:47-07:00
New Revision: 79e522fb44e1761e5ad90835f95c5dadcf8d8406
URL:
https://github.com/llvm/llvm-project/commit/79e522fb44e1761e5ad90835f95c5dadcf8d8406
DIFF:
https://github.com/llvm/llvm-project/commit/79e522fb44e1761e5ad90835f95c5dadcf8d8406.diff
Author: Adrian Prantl
Date: 2022-10-17T15:21:41-07:00
New Revision: a31a5da3c7d7393749a43dbc678fd28fb94d07f6
URL:
https://github.com/llvm/llvm-project/commit/a31a5da3c7d7393749a43dbc678fd28fb94d07f6
DIFF:
https://github.com/llvm/llvm-project/commit/a31a5da3c7d7393749a43dbc678fd28fb94d07f6.diff
Author: Adrian Prantl
Date: 2022-10-17T17:27:54-07:00
New Revision: 2c9093e649c4078c1083f489b72dda7ad54baea5
URL:
https://github.com/llvm/llvm-project/commit/2c9093e649c4078c1083f489b72dda7ad54baea5
DIFF:
https://github.com/llvm/llvm-project/commit/2c9093e649c4078c1083f489b72dda7ad54baea5.diff
Author: Adrian Prantl
Date: 2022-10-17T17:27:54-07:00
New Revision: dd5c5f72e00dca0e2458139fec09b1a715cfb238
URL:
https://github.com/llvm/llvm-project/commit/dd5c5f72e00dca0e2458139fec09b1a715cfb238
DIFF:
https://github.com/llvm/llvm-project/commit/dd5c5f72e00dca0e2458139fec09b1a715cfb238.diff
Author: Adrian Prantl
Date: 2022-11-16T17:35:51-08:00
New Revision: 3f36421aa74031fb554c780dba66c1c1a437d953
URL:
https://github.com/llvm/llvm-project/commit/3f36421aa74031fb554c780dba66c1c1a437d953
DIFF:
https://github.com/llvm/llvm-project/commit/3f36421aa74031fb554c780dba66c1c1a437d953.diff
Author: Adrian Prantl
Date: 2022-11-17T10:50:34-08:00
New Revision: 0acc08b4eabdeb9b681259921df9e1b554a927e2
URL:
https://github.com/llvm/llvm-project/commit/0acc08b4eabdeb9b681259921df9e1b554a927e2
DIFF:
https://github.com/llvm/llvm-project/commit/0acc08b4eabdeb9b681259921df9e1b554a927e2.diff
901 - 1000 of 1700 matches
Mail list logo