diff options
| author | Alexander Richardson <alexrichardson@google.com> | 2024-09-05 10:58:37 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-05 10:58:37 -0700 |
| commit | 4d819daab91f54b90365927ba4b40e5a2eff26a9 (patch) | |
| tree | d784bc8e23531607958637b8df9c1f1a9528cc4d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 797f01198e8b41982916ba02d703bd6a96b5347e (diff) | |
[compiler-rt] Simplify definition of uptr
We can rely on the compiler-provided macro __UINTPTR_TYPE__ for all
non-MSVC compilers. I verified via https://godbolt.org/z/MW9KMjv5f that
this works for MSVC as well as GCC 4.5 Clang 3.0, so that should cover
all supported compilers.
This means we no longer need to explicitly handle new architectures
and as an added bonus also adds support for architectures where
`unsigned long long` cannot be used to hold pointers (e.g. CHERI).
Reviewed By: mstorsjo, vitalybuka
Pull Request: https://github.com/llvm/llvm-project/pull/106155
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
