[Lldb-commits] [PATCH] D86220: [lldb/Utility] Simplify Scalar handling of float types

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 19 08:26:31 PDT 2020


labath created this revision.
labath added reviewers: JDevlieghere, teemperor.
Herald added a project: LLDB.
labath requested review of this revision.

Similarly to D85836 <https://reviews.llvm.org/D85836>, collapse all Scalar float types to a single enum
value, and use APFloat semantics to differentiate between. This
simplifies the code, and opens to door to supporting other floating
point semantics (which would be needed for fully supporting
architectures with more interesting float types such as PPC).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86220

Files:
  lldb/include/lldb/Utility/Scalar.h
  lldb/source/Utility/Scalar.cpp
  lldb/unittests/Utility/ScalarTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86220.286567.patch
Type: text/x-patch
Size: 16789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200819/43e025ed/attachment.bin>


More information about the lldb-commits mailing list