[clang] Reland "[Win32][ELF] Make CodeView a DebugInfoFormat only for COFF format", second try (PR #88245)

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 4 09:42:41 PDT 2024


================
@@ -298,15 +298,15 @@
 // FioRACE2: "-E"
 // FioRACE2: "-o" "foo.x"
 
-// RUN: %clang_cl /Z7 /Foa.obj -### -- %s 2>&1 | FileCheck -check-prefix=ABSOLUTE_OBJPATH %s
+// RUN: %clang_cl -target x86_64-windows /Z7 /Foa.obj -### -- %s 2>&1 | FileCheck -check-prefix=ABSOLUTE_OBJPATH %s
----------------
rnk wrote:

The clang-cl driver generally forces a Windows OS onto the target, but I'm not confident enough to say this isn't necessary.

https://github.com/llvm/llvm-project/pull/88245


More information about the cfe-commits mailing list