about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2024-08-16 20:33:58 +0000
committerSami Tolvanen <samitolvanen@google.com>2024-08-21 20:23:56 +0000
commit40f1d9d15472416c53f9558074899d007fbbd1c1 (patch)
tree0958c0a631e2c681b2dc33f6b5b67940fcd4745e /tests/rustdoc-js-std/parser-errors.js
parent6b678c57b63b3062fb97130b3617b82657f59c80 (diff)
downloadrust-40f1d9d15472416c53f9558074899d007fbbd1c1.tar.gz
rust-40f1d9d15472416c53f9558074899d007fbbd1c1.zip
Add missing module flags for CFI and KCFI sanitizers
Set the cfi-normalize-integers and kcfi-offset module flags when
Control-Flow Integrity sanitizers are used, so functions generated by
the LLVM backend use the same CFI/KCFI options as rustc.

cfi-normalize-integers tells LLVM to also use integer normalization
for generated functions when -Zsanitizer-cfi-normalize-integers is
used.

kcfi-offset specifies the number of prefix nops between the KCFI
type hash and the function entry when -Z patchable-function-entry is
used. Note that LLVM assumes all indirectly callable functions use the
same number of prefix NOPs with -Zsanitizer=kcfi.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions