[llvm-bugs] [Bug 50033] New: -fno-temp-file is broken in clang 12

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 19 15:11:37 PDT 2021


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: unassignedclangbugs at nondot.org
          Reporter: Zachary.Henkel at microsoft.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210419/46afe6de/attachment.html>


More information about the llvm-bugs mailing list