[lld] [llvm] [LLD][COFF] Add more variety of CET flags (PR #150761)
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 28 03:36:51 PDT 2025
================
@@ -1,7 +1,6 @@
-# To regenerate has-cet.exe
-# $ echo int main() { return 0; } > has-cet.c
-# $ cl has-cet.c /link /cetcompat
-RUN: llvm-readobj --coff-debug-directory %p/Inputs/has-cet.exe | FileCheck %s
+RUN: yaml2obj %p/Inputs/hascetret42.yaml -o %t.obj
+RUN: lld-link /out:%t.exe /entry:main /cetcompat %t.obj
----------------
mstorsjo wrote:
You can't run `lld` in the `llvm` testsuite - that's a layering violation; the `lld` subproject might not be enabled/available while running these tests.
https://github.com/llvm/llvm-project/pull/150761
More information about the llvm-commits
mailing list