diff options
author | Marco Elver <elver@google.com> | 2025-10-07 20:22:25 +0200 |
---|---|---|
committer | Marco Elver <elver@google.com> | 2025-10-08 16:38:57 +0200 |
commit | 8ba73840e7f94539ff39f78408e030d21b8f3d6f (patch) | |
tree | 4c0dc25127fa5d8c9b71fd2260cd728d4b080528 /llvm/tools/llvm-offload-binary/llvm-offload-binary.cpp | |
parent | 8c3d929f0e0e8bfa535f7958a49695f9142742f2 (diff) | |
download | llvm-8ba73840e7f94539ff39f78408e030d21b8f3d6f.zip llvm-8ba73840e7f94539ff39f78408e030d21b8f3d6f.tar.gz llvm-8ba73840e7f94539ff39f78408e030d21b8f3d6f.tar.bz2 |
[Clang][CodeGen] Introduce the AllocToken SanitizerKind (#162098)
[ Reland after 7815df19deaa ("[Clang] Fix brittle print-header-json.c test") ]
Introduce the "alloc-token" sanitizer kind, in preparation of wiring it
up. Currently this is a no-op, and any attempt to enable it will result
in failure:
clang: error: unsupported option '-fsanitize=alloc-token' for target
'x86_64-unknown-linux-gnu'
In this step we can already wire up the `sanitize_alloc_token` IR
attribute where the instrumentation is enabled. Subsequent changes will
complete wiring up the AllocToken pass.
---
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