[NFC][lldb][trace] Use uint64_t when decoding and enconding json
authorWalter Erquinigo <wallace@fb.com>
Tue, 10 May 2022 04:44:09 +0000 (21:44 -0700)
committerWalter Erquinigo <wallace@fb.com>
Tue, 10 May 2022 04:55:43 +0000 (21:55 -0700)
commit9d2dd6d7622335ba9c19b55ac7d463cf662cab0d
treeed9e4315929cd6ad1e19750c9cad4daab97d1bb2
parent39e63bd2d848667e44fc05d8a39460f29a3dfbe1
[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.
lldb/include/lldb/Utility/TraceGDBRemotePackets.h
lldb/include/lldb/Utility/TraceIntelPTGDBRemotePackets.h
lldb/source/Plugins/Process/Linux/IntelPTCollector.cpp
lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp
lldb/source/Target/Trace.cpp
lldb/source/Utility/TraceGDBRemotePackets.cpp
lldb/source/Utility/TraceIntelPTGDBRemotePackets.cpp