aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorAlvin Wong <alvin@alvinhc.com>2022-09-09 09:17:33 +0300
committerMartin Storsjö <martin@martin.st>2022-09-09 09:55:40 +0300
commitbf7c5f1fae582ff4cc875713695b2dadb1cf5e59 (patch)
tree00f6f3e7ac00a08f195f676138d6c38c7242aadf /llvm/lib/Support/CommandLine.cpp
parent06413618eae968e457350358e23c4dce932c370a (diff)
downloadllvm-bf7c5f1fae582ff4cc875713695b2dadb1cf5e59.zip
llvm-bf7c5f1fae582ff4cc875713695b2dadb1cf5e59.tar.gz
llvm-bf7c5f1fae582ff4cc875713695b2dadb1cf5e59.tar.bz2
[LLD][MinGW] Add --[no-]guard-cf and --[no-]guard-longjmp
These will be LLD-specific options to support Control Flow Guard for the MinGW target. They are disabled by default, but enabling `--guard-cf` will also enable `--guard-longjmp` unless `--no-guard-longjmp` is also specified. These options maps to `-guard:cf,[no]longjmp`. Note that these features require the `_load_config_used` symbol to contain the load config directory and be filled with the required symbols. While current versions of mingw-w64 do not supply this symbol, the user can provide their own version of it. Reviewed By: MaskRay, rnk Differential Revision: https://reviews.llvm.org/D132808
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions