diff options
author | Nikolas Klauser <nikolasklauser@berlin.de> | 2023-06-07 13:33:02 -0700 |
---|---|---|
committer | Nikolas Klauser <nikolasklauser@berlin.de> | 2023-06-07 13:33:58 -0700 |
commit | 7949ee0d4f10f4fa3b3021fb6269e14175c3b0ae (patch) | |
tree | d714ea2a802a84b564404cc9b3230da3144138c9 /lldb/source/Commands/CommandObjectScript.cpp | |
parent | 5aea839ab3edeb58bb0eea833ad9427d0ae7ef67 (diff) | |
download | llvm-7949ee0d4f10f4fa3b3021fb6269e14175c3b0ae.zip llvm-7949ee0d4f10f4fa3b3021fb6269e14175c3b0ae.tar.gz llvm-7949ee0d4f10f4fa3b3021fb6269e14175c3b0ae.tar.bz2 |
[libc++] Introduce __is_pointer_in_range
This checks whether a pointer is within a range, even during constant evaluation. This allows running optimized code paths during constant evaluation, instead of falling back to the general-purpose implementation all the time. This is also a central place for comparing unrelated pointers, which is technically UB.
Reviewed By: ldionne, #libc
Spies: libcxx-commits
Differential Revision: https://reviews.llvm.org/D143327
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions