[Lldb-commits] [PATCH] D21328: [lldb] Fixed incorrect endianness when evaluating certain expressions

Cameron via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 25 13:35:00 PDT 2016


cameron314 added a comment.

Hmm, I don't think this is easily testable at all. We happened to see it on our (out-of-tree) big-endian architecture when debugging remotely on Windows, but only for variables backed by registers. I was thus able to trace the problem back to this code, fix it, and verify it locally. But I can't reproduce this for other architectures because they likely don't follow the same code path (plus I don't have the hardware/simulator setup required). And trying to unit test this would be... quite a challenge, I feel, considering all the layers involved.


https://reviews.llvm.org/D21328





More information about the lldb-commits mailing list