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: unassignedclangb...@nondot.org
Reporter: richard-l...@metafoo.co.uk
CC: dgre...@apple.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs