[Lldb-commits] [lldb] 8b95d08 - Unbreak lldb build broken by d941fceca8e9

Benjamin Kramer via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 23 12:02:12 PST 2022


Author: Benjamin Kramer
Date: 2022-11-23T21:01:47+01:00
New Revision: 8b95d08799cabaebf9b7549356e0552a17791dc6

URL: https://github.com/llvm/llvm-project/commit/8b95d08799cabaebf9b7549356e0552a17791dc6
DIFF: https://github.com/llvm/llvm-project/commit/8b95d08799cabaebf9b7549356e0552a17791dc6.diff

LOG: Unbreak lldb build broken by d941fceca8e9

Added: 
    

Modified: 
    lldb/source/Symbol/CompilerType.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Symbol/CompilerType.cpp b/lldb/source/Symbol/CompilerType.cpp
index d30c9d87fa48..34dc7140c1fd 100644
--- a/lldb/source/Symbol/CompilerType.cpp
+++ b/lldb/source/Symbol/CompilerType.cpp
@@ -96,7 +96,8 @@ bool CompilerType::IsCompleteType() const {
 
 bool CompilerType::IsForcefullyCompleted() const {
   if (IsValid())
-    return m_type_system->IsForcefullyCompleted(m_type);
+    if (auto type_system_sp = GetTypeSystem())
+      return type_system_sp->IsForcefullyCompleted(m_type);
   return false;
 }
 


        


More information about the lldb-commits mailing list