diff options
author | Matthew Maurer <[email protected]> | 2023-10-09 22:42:54 +0000 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2023-10-23 15:35:00 +0200 |
commit | 6a5c032c4b7e4262488703086ab280406dc51298 (patch) | |
tree | 57397f56ee55b0a975c379f71afacb16153d3153 /tools/perf/util/trace-event-scripting.c | |
parent | a7135d10754760f0c038497b44c2c2f2b0fb5651 (diff) |
x86: Enable IBT in Rust if enabled in C
These flags are not made conditional on compiler support because at the
moment exactly one version of rustc supported, and that one supports
these flags.
Building without these additional flags will manifest as objtool
printing a large number of errors about missing ENDBR and if CFI is
enabled (not currently possible) will result in incorrectly structured
function prefixes.
Signed-off-by: Matthew Maurer <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Acked-by: "Peter Zijlstra (Intel)" <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions