[Lldb-commits] [lldb] 57a20d2 - [LLDB] Default implementation for pack indexing types. (#79695)
via lldb-commits
lldb-commits at lists.llvm.org
Sat Jan 27 07:25:32 PST 2024
Author: cor3ntin
Date: 2024-01-27T16:25:28+01:00
New Revision: 57a20d2d09bbd3cc501fc6d8b4746be2040c99b7
URL: https://github.com/llvm/llvm-project/commit/57a20d2d09bbd3cc501fc6d8b4746be2040c99b7
DIFF: https://github.com/llvm/llvm-project/commit/57a20d2d09bbd3cc501fc6d8b4746be2040c99b7.diff
LOG: [LLDB] Default implementation for pack indexing types. (#79695)
We do not handle pack indexing types (added by yet #72644) but we add them to some switch
statement to ensure CI builds do not fail.
Added:
Modified:
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
index 6f5ff105477be17..4ceeb624e088888 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -4189,6 +4189,10 @@ TypeSystemClang::GetTypeClass(lldb::opaque_compiler_type_t type) {
case clang::Type::ConstantMatrix:
case clang::Type::DependentSizedMatrix:
break;
+
+ // We don't handle pack indexing yet
+ case clang::Type::PackIndexing:
+ break;
}
// We don't know hot to display this type...
return lldb::eTypeClassOther;
@@ -5066,6 +5070,10 @@ lldb::Encoding TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type,
case clang::Type::ConstantMatrix:
case clang::Type::DependentSizedMatrix:
break;
+
+ // We don't handle pack indexing yet
+ case clang::Type::PackIndexing:
+ break;
}
count = 0;
return lldb::eEncodingInvalid;
@@ -5221,6 +5229,10 @@ lldb::Format TypeSystemClang::GetFormat(lldb::opaque_compiler_type_t type) {
case clang::Type::ConstantMatrix:
case clang::Type::DependentSizedMatrix:
break;
+
+ // We don't handle pack indexing yet
+ case clang::Type::PackIndexing:
+ break;
}
// We don't know hot to display this type...
return lldb::eFormatBytes;
More information about the lldb-commits
mailing list