================
@@ -0,0 +1,22 @@
+// This verifies that hotpatch function attributes are correctly propagated 
when compiling directly to OBJ,
+// and that name mangling works as expected.
+//
+// RUN: %clang_cl -c --target=x86_64-windows-msvc -O2 /Z7 
-fms-secure-hotpatch-functions-list=?this_gets_hotpatched@@YAHXZ /Fo%t.obj %s
+// RUN: llvm-readobj --codeview %t.obj | FileCheck %s
----------------
efriedma-quic wrote:

I checked to confirm, and I guess clang/test/CodeGen/X86 doesn't have a 
implicit lit.cfg file, so you probably need `REQUIRES: x86-registered-target` 
for all the clang tests.  (The llvm/ tests are fine.)

https://github.com/llvm/llvm-project/pull/138972
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to