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

walter erquinigo via All-commits all-commits at lists.llvm.org
Tue May 17 11:08:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26d83a431ecbc79d227b0f3b92b0fb2166a7c7d7
      https://github.com/llvm/llvm-project/commit/26d83a431ecbc79d227b0f3b92b0fb2166a7c7d7
  Author: Walter Erquinigo <wallace at fb.com>
  Date:   2022-05-17 (Tue, 17 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