aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-offload-binary/llvm-offload-binary.cpp
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2025-10-08 21:58:37 +0200
committerGitHub <noreply@github.com>2025-10-08 21:58:37 +0200
commit6359980f5b555f95429139c2e2e9530d75d4e78f (patch)
tree73a5007dfa0c28d377bcd04bfb4b48cfa27f89b2 /llvm/tools/llvm-offload-binary/llvm-offload-binary.cpp
parent9527f9338f9d116b6eaf5771b961ed0210119326 (diff)
downloadllvm-6359980f5b555f95429139c2e2e9530d75d4e78f.zip
llvm-6359980f5b555f95429139c2e2e9530d75d4e78f.tar.gz
llvm-6359980f5b555f95429139c2e2e9530d75d4e78f.tar.bz2
[AllocToken, Clang] Implement TypeHashPointerSplit mode (#156840)
Implement the TypeHashPointerSplit mode: This mode assigns a token ID based on the hash of the allocated type's name, where the top half ID-space is reserved for types that contain pointers and the bottom half for types that do not contain pointers. This mode with max tokens of 2 (`-falloc-token-max=2`) may also be valuable for heap hardening strategies that simply separate pointer types from non-pointer types. Make it the new default mode. Link: https://discourse.llvm.org/t/rfc-a-framework-for-allocator-partitioning-hints/87434 --- This change is part of the following series: 1. https://github.com/llvm/llvm-project/pull/160131 2. https://github.com/llvm/llvm-project/pull/156838 3. https://github.com/llvm/llvm-project/pull/162098 4. https://github.com/llvm/llvm-project/pull/162099 5. https://github.com/llvm/llvm-project/pull/156839 6. https://github.com/llvm/llvm-project/pull/156840 7. https://github.com/llvm/llvm-project/pull/156841 8. https://github.com/llvm/llvm-project/pull/156842
Diffstat (limited to 'llvm/tools/llvm-offload-binary/llvm-offload-binary.cpp')
0 files changed, 0 insertions, 0 deletions