diff options
| author | Paul Kirth <paulkirth@google.com> | 2023-03-23 16:54:15 +0000 |
|---|---|---|
| committer | Paul Kirth <paulkirth@google.com> | 2023-04-12 17:59:22 +0000 |
| commit | 9e3aa50d39fa208998360cb45793df1e39188d4c (patch) | |
| tree | 42917dcf664d2618b29932dacab5becda1a03a6e /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp | |
| parent | 99ab3d9861bccdd14b08968fc2bb4f3f766cb382 (diff) | |
[support] Provide overload to PrintNumber that use C++ types
This attempts to address an issue with overload resolution for `PrintNumber`
with `size_t` parameters on Darwin, brought up in
https://reviews.llvm.org/D146492.
On Aarch64 Darwin, `uint64_t` has a different typedef than `size_t`
(e.g., `unsigned long long` vs. `unsigned long`), whereas on Linux and
Windows they are the same.
This commit also reverts the static_cast's added in
064e2497e2ebe9ac30ac96923a26a52484300fdf, since they are no longer
needed.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D146771
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp')
0 files changed, 0 insertions, 0 deletions
