[Lldb-commits] [PATCH] D51245: Allow IRInterpreter to deal with non-power-of-2 sized types to support some bitfield accesses.
Frederic Riss via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 24 18:14:28 PDT 2018
friss created this revision.
friss added reviewers: jingham, clayborg.
For some bitfield patterns (like the one added by this commit), Clang will
generate non-regular data types like i24 or i48. This patch follows a
pretty naive approach of just bumping the type size to the next power of 2.
DataExtractor know how to deal with weird sizes. The operations on Scalar
do not know how to deal with those types though, so we have to legalize the
size when creating a Scalar.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3959 bytes
Desc: not available
More information about the lldb-commits