[PATCH] D59780: Support Intel Control-flow Enforcement Technology
Xiang Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 21:47:10 PST 2019
xiangzhangllvm added inline comments.
================
Comment at: lld/ELF/Driver.cpp:1706
} else if (!features && config->requireCET)
error(toString(f) + ": --require-cet: file is not compatible with CET");
ret &= features;
----------------
I don't know why "--forece-bti" use "warn" not "error", in my eyes, people use --require-cet to generate the output file, mostly means, they want to run the output file on a CET-checked machine. It will run fail when linked Non-CET object files to the output file. So here we used "error" instead of "warn".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59780/new/
https://reviews.llvm.org/D59780
More information about the llvm-commits
mailing list