[Lldb-commits] [lldb] f5953f4 - Fix lldb build failure caused by 39adc8f42329
via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 25 10:37:51 PDT 2024
Author: erichkeane
Date: 2024-04-25T10:36:31-07:00
New Revision: f5953f46aa0a664461584b78c14cb141a3be2b9d
URL: https://github.com/llvm/llvm-project/commit/f5953f46aa0a664461584b78c14cb141a3be2b9d
DIFF: https://github.com/llvm/llvm-project/commit/f5953f46aa0a664461584b78c14cb141a3be2b9d.diff
LOG: Fix lldb build failure caused by 39adc8f42329
We changed the name of one of the types, which is consumed by LLDB. My
patch local build + CI didn't catch it, but a build bot did! This
commit fixes it by updating the name in LLDB.
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 5da94adb771f86..8fc0f9103f5541 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -4861,7 +4861,7 @@ lldb::Encoding TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type,
case clang::BuiltinType::Kind::OCLQueue:
case clang::BuiltinType::Kind::OCLReserveID:
case clang::BuiltinType::Kind::OCLSampler:
- case clang::BuiltinType::Kind::OMPArraySection:
+ case clang::BuiltinType::Kind::ArraySection:
case clang::BuiltinType::Kind::OMPArrayShaping:
case clang::BuiltinType::Kind::OMPIterator:
case clang::BuiltinType::Kind::Overload:
@@ -6013,7 +6013,7 @@ uint32_t TypeSystemClang::GetNumPointeeChildren(clang::QualType type) {
case clang::BuiltinType::ARCUnbridgedCast:
case clang::BuiltinType::PseudoObject:
case clang::BuiltinType::BuiltinFn:
- case clang::BuiltinType::OMPArraySection:
+ case clang::BuiltinType::ArraySection:
return 1;
default:
return 0;
More information about the lldb-commits
mailing list