[all-commits] [llvm/llvm-project] adbdef: [Driver] Make -fsanitize=kcfi, function incompatible
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Apr 19 13:15:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: adbdef6a9f39058f390ba285624b0dfb24bad7e8
https://github.com/llvm/llvm-project/commit/adbdef6a9f39058f390ba285624b0dfb24bad7e8
Author: Fangrui Song <i at maskray.me>
Date: 2023-04-19 (Wed, 19 Apr 2023)
Changed paths:
M clang/lib/Driver/SanitizerArgs.cpp
M clang/test/Driver/fsanitize.c
Log Message:
-----------
[Driver] Make -fsanitize=kcfi,function incompatible
A -fsanitize=kcfi instrumented function has a special instruction/data
before the function entry at a fixed offset.
A -fsanitize=function instrumented function has special instruction/data
after the function entry at a fixed offset (may change to *before* in D148665).
The two instrumentations are not intended to be used together and will become
incompatible after D148665.
Reviewed By: samitolvanen
Differential Revision: https://reviews.llvm.org/D148671
More information about the All-commits
mailing list