https://bugs.llvm.org/show_bug.cgi?id=50033

            Bug ID: 50033
           Summary: -fno-temp-file is broken in clang 12
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

Creating a pch with -fno-temp-file set creates a temp file because
*RemoveFileOnSignal=*/false

Traced back to ad7aaa475e5e632242b07380ec47d2f35d077209

A simplified command line is as follows:
 clang-cl -fno-temp-file /Yc /Fpstdafx.pch /Fostdafx.obj stdafx.h

Observer in your favorite system monitor (such as procmon) that a temp file is
created.  

Without hacking up our internal fork of clang this completely blocks adoption
of clang 12.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to