[LLVMbugs] [Bug 20491] New: Clang driver doesn't provide sub-command to delete intermediate files

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 30 03:10:38 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20491

            Bug ID: 20491
           Summary: Clang driver doesn't provide sub-command to delete
                    intermediate files
           Product: clang
           Version: 3.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: abyss.7 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

If I run `clang -### ...` I get a sequence of sub-commands. Sometimes it
happens that one command outputs something to temporary file like
"/tmp/test-141524.s" and the other command takes it as input.

If I use clang driver itself, then the temp file gets deleted after process is
finished. But if I execute those commands by hand consequently, then the temp
file is not deleted.

It would be consistent to provide some `rm` sub-command within `clang -### ...`
output, if required.

-- 
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/20140730/b5a54134/attachment.html>


More information about the llvm-bugs mailing list