[clang] [lld] [llvm] [Windows] Add support for emitting PGO/LTO magic strings in the Windows PE debug directory (PR #114260)
Martin Storsjö via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 6 01:09:08 PST 2024
================
@@ -0,0 +1,16 @@
+// This test checks if lld puts magic string "PGI" when an object files contains
+// .pgi section.
+
+// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-windows %s -o %t.main_x86.obj
+// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-windows %s -o %t.main_aarch.obj
----------------
mstorsjo wrote:
This test requires x86 and aarch64 to be available - add suitable `REQUIRES:` lines. (While they test the same thing, they have different spellings between the clang and lld test directories, iirc, so check other surrounding tests for how it is written.)
https://github.com/llvm/llvm-project/pull/114260
More information about the cfe-commits
mailing list