aboutsummaryrefslogtreecommitdiff
path: root/libcxxabi/src/cxa_noexception.cpp
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2025-10-22 10:27:55 +0200
committerGitHub <noreply@github.com>2025-10-22 10:27:55 +0200
commiteeffaf110e991791a8ff7e9b7bb40b5317c70bad (patch)
treeca2ddc99a5894b113f527ebcc95d8a4f0c78b82d /libcxxabi/src/cxa_noexception.cpp
parentdda30e1b7d100c5df2285d27af25f8b42b7aac19 (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[AllocToken] Refactor stateless token calculation into Support (#163633)HEADmain
Refactor the stateless (hash-based) token calculation logic out of the `AllocToken` pass and into `llvm/Support/AllocToken.h`. This helps with making the token calculation logic available to other parts of the codebase, which will be necessary for frontend implementation of `__builtin_infer_alloc_token` to perform constexpr evaluation. The `AllocTokenMode` enum and a new `AllocTokenMetadata` struct are moved into a shared header. The `getAllocTokenHash()` function now provides the source of truth for calculating token IDs for `TypeHash` and `TypeHashPointerSplit` modes.
Diffstat (limited to 'libcxxabi/src/cxa_noexception.cpp')
0 files changed, 0 insertions, 0 deletions