[all-commits] [llvm/llvm-project] 1c0ca8: [LLD][COFF] Add more variety of CET and hotpatch f...

kkent030315 via All-commits all-commits at lists.llvm.org
Sat Sep 6 08:56:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c0ca8afc6574c45cfe015effbf641bc2280a558
      https://github.com/llvm/llvm-project/commit/1c0ca8afc6574c45cfe015effbf641bc2280a558
  Author: kkent030315 <hrn832 at protonmail.com>
  Date:   2025-09-06 (Sat, 06 Sep 2025)

  Changed paths:
    M lld/COFF/Config.h
    M lld/COFF/Driver.cpp
    M lld/COFF/Options.td
    M lld/COFF/Writer.cpp
    A lld/test/COFF/exdllcharacteristics.test
    M lld/test/COFF/options.test

  Log Message:
  -----------
  [LLD][COFF] Add more variety of CET and hotpatch flags (#150761)

Those are all MS link.exe compatible flags.

### CET (Control-flow Enforcement Technology) family
- Added LLD test that covers `/cetcompat[:no]`
- Added `/cetcompatstrict[:no]` flag in LLD/COFF
- Added `/cetipvalidationrelaxed[:no]` flag in LLD/COFF
- Added `/cetdynamicapisinproc[:no]` flag in LLD/COFF

### Misc
- Added `/hotpatchcompatible[:no]` flag in LLD/COFF
- This flag requires at least 6 bytes of function padding
(`/functionpadmin:#`) as per link.exe



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list