[Lldb-commits] [lldb] [lldb] Add support for displaying	`__float128` variables (PR #98369)
    via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Fri May 16 07:48:01 PDT 2025
    
    
  
================
@@ -666,7 +667,9 @@ lldb::offset_t lldb_private::DumpDataExtractor(
       const unsigned format_precision = 0;
 
       const llvm::fltSemantics &semantics =
-          GetFloatSemantics(target_sp, item_byte_size);
+          item_format == eFormatFloat128 && item_byte_size == 16
+              ? llvm::APFloat::IEEEquad()
+              : GetFloatSemantics(target_sp, item_byte_size);
----------------
beetrees wrote:
I've moved the it inside `GetFloatSemantics`.
https://github.com/llvm/llvm-project/pull/98369
    
    
More information about the lldb-commits
mailing list