aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ProfileData/MemProfTest.cpp
diff options
context:
space:
mode:
authorCsanád Hajdú <csanad.hajdu@arm.com>2024-12-11 18:06:56 +0100
committerGitHub <noreply@github.com>2024-12-11 09:06:56 -0800
commit1946d32f1fdfb2c4d5e866a5c1c5c32b8cdad5b8 (patch)
tree25d0c2e7dc862ce36637fb16e3233bc0811c1bf6 /llvm/unittests/ProfileData/MemProfTest.cpp
parent0663a73104424a1e9e7416bddb4fe3bec7129a2b (diff)
downloadllvm-1946d32f1fdfb2c4d5e866a5c1c5c32b8cdad5b8.zip
llvm-1946d32f1fdfb2c4d5e866a5c1c5c32b8cdad5b8.tar.gz
llvm-1946d32f1fdfb2c4d5e866a5c1c5c32b8cdad5b8.tar.bz2
[Clang] Improve error for `-fsanitize=function/kcfi -mexecute-only` incompatibility (#118816)
The current error message when using the `-fsanitize=function -mexecute-only` flags together points to the target triple as the reason that `-fsanitize=function` is not allowed to be used, even when the function sanitizer is otherwise supported on the target when not using `-mexecute-only`. The error message is improved to give `-mexecute-only` as the reason for disallowing `-fsanitize=function` if it was passed to the driver. Fixes https://github.com/llvm/llvm-project/issues/117974
Diffstat (limited to 'llvm/unittests/ProfileData/MemProfTest.cpp')
0 files changed, 0 insertions, 0 deletions