[llvm-bugs] [Bug 38859] New: clang -module-file-info deletes the input file if it's malformed

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 6 17:37:15 PDT 2018


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

            Bug ID: 38859
           Summary: clang -module-file-info deletes the input file if it's
                    malformed
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Modules
          Assignee: unassignedclangbugs at nondot.org
          Reporter: richard-llvm at metafoo.co.uk
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

Steps to reproduce:

1) create an AST file for which the module loader will report
ASTReadResult::Failure
2) attempt to dump information on that file with clang -module-file-info

Expected: we get an error saying the file is malformed.
Actual: we get the error, and then the file is deleted.

Oops :)

-- 
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/20180907/8d43172b/attachment.html>


More information about the llvm-bugs mailing list