================
@@ -0,0 +1,13 @@
+// This test checks if Window PE file compiled with -flto option contains a 
magic 
+// string "LTCG" to indicate LTO compilation.
+
+// REQUIRES: system-windows
+
+// RUN: %clang --target=x86_64-pc-windows-msvc -flto -fuse-ld=lld %s -o %t.exe
+// RUN: dumpbin /HEADERS %t.exe | FileCheck %s
----------------
aganea wrote:

@mikolaj-pirog One of the goals of LLVM
is cross compilation. `dumpbin` will not be available on Linux. We usually use 
`REQUIRES: system-windows` for testing low-level stuff on that system. For this 
case you’d probably want to change `llvm-objdump` to match `dumpbin` behavior.

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

Reply via email to