[Lldb-commits] [lldb] [lldb] Fix misaligned pointer UB in DataExtractor::GetU16/U32/U64 array reads (PR #213038)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 31 09:02:06 PDT 2026


JDevlieghere wrote:

> I pushed a new commit to simplify the comments.

Thanks!

> Additionally, does it make sense to add a file-local/private template helper `GetUInt<T>`, and make the existing public `GetU16/32/64` call it?

I think so, llvm generally favors small static helpers.


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


More information about the lldb-commits mailing list