[all-commits] [llvm/llvm-project] 9d2dd6: [NFC][lldb][trace] Use uint64_t when decoding and ...

walter erquinigo via All-commits all-commits at lists.llvm.org
Mon May 9 21:55:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d2dd6d7622335ba9c19b55ac7d463cf662cab0d
      https://github.com/llvm/llvm-project/commit/9d2dd6d7622335ba9c19b55ac7d463cf662cab0d
  Author: Walter Erquinigo <wallace at fb.com>
  Date:   2022-05-09 (Mon, 09 May 2022)

  Changed paths:
    M lldb/include/lldb/Utility/TraceGDBRemotePackets.h
    M lldb/include/lldb/Utility/TraceIntelPTGDBRemotePackets.h
    M lldb/source/Plugins/Process/Linux/IntelPTCollector.cpp
    M lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp
    M lldb/source/Target/Trace.cpp
    M lldb/source/Utility/TraceGDBRemotePackets.cpp
    M lldb/source/Utility/TraceIntelPTGDBRemotePackets.cpp

  Log Message:
  -----------
  [NFC][lldb][trace] Use uint64_t when decoding and enconding json

llvm's json parser supports uint64_t, so let's better use it for the
packets being sent between lldb and lldb-server instead of using int64_t
as an intermediate type, which might be error-prone.




More information about the All-commits mailing list