krytarowski added inline comments.
================ Comment at: lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp:239 + + if (byte_order == lldb::eByteOrderBig) { + ::memcpy(m_xstate_x86_64.xs_fxsave.fx_xmm[reg_index].xmm_bytes, ---------------- labath wrote: > mgorny wrote: > > labath wrote: > > > Why would we ever want to do this? > > I was asking myself the exact same thing! But the code is present both on > > Linux and FreeBSD, so I presumed there is some fancy use case I have no > > clue about. > Yeah, I don't think that's a safe assumption around here. :) Right now x86 supports only LE on NetBSD. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63545/new/ https://reviews.llvm.org/D63545 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits