[all-commits] [llvm/llvm-project] bd28bd: [clang-cl] /kernel should toggle bit 30 in @feat.00

David Majnemer via All-commits all-commits at lists.llvm.org
Thu Aug 25 07:28:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd28bd59a3693b6abc12231f2140e02760c0ada0
      https://github.com/llvm/llvm-project/commit/bd28bd59a3693b6abc12231f2140e02760c0ada0
  Author: David Majnemer <david.majnemer at gmail.com>
  Date:   2022-08-25 (Thu, 25 Aug 2022)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/test/CodeGen/cfguardtable.c
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/X86/X86AsmPrinter.cpp

  Log Message:
  -----------
  [clang-cl] /kernel should toggle bit 30 in @feat.00

The linker is supposed to detect when an object with /kernel is linked
with another object which is not compiled with /kernel. The linker
detects this by checking bit 30 in @feat.00.




More information about the All-commits mailing list