[Lldb-commits] [lldb] [lldb] Add support for displaying `__float128` variables (PR #98369)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue May 20 07:05:21 PDT 2025


================
@@ -335,6 +336,10 @@ static const llvm::fltSemantics &GetFloatSemantics(const TargetSP &target_sp,
       return llvm::APFloat::IEEEsingle();
     case 8:
       return llvm::APFloat::IEEEdouble();
+    case 16:
+      if (prefer_float128) {
----------------
Michael137 wrote:

Might be better to just take `Format` as a parameter and check whether that is `eTypeFloat128`? And also leave a comment re. possbile 16-byte `long double` that's causing the ambiguity problem

https://github.com/llvm/llvm-project/pull/98369


More information about the lldb-commits mailing list