[Lldb-commits] [lldb] 2af2140 - [lldb] Handle new BFloat16 type

Kadir Cetinkaya via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 5 03:30:17 PDT 2020


Author: Kadir Cetinkaya
Date: 2020-06-05T12:25:26+02:00
New Revision: 2af2140983a8de838a93b375121515a6b48524d4

URL: https://github.com/llvm/llvm-project/commit/2af2140983a8de838a93b375121515a6b48524d4
DIFF: https://github.com/llvm/llvm-project/commit/2af2140983a8de838a93b375121515a6b48524d4.diff

LOG: [lldb] Handle new BFloat16 type

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 892df4fd5750..4e83a244d05b 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -4740,6 +4740,7 @@ lldb::Encoding TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type,
     case clang::BuiltinType::Float128:
     case clang::BuiltinType::Double:
     case clang::BuiltinType::LongDouble:
+    case clang::BuiltinType::BFloat16:
       return lldb::eEncodingIEEE754;
 
     case clang::BuiltinType::ObjCClass:


        


More information about the lldb-commits mailing list