https://bugs.llvm.org/show_bug.cgi?id=38328
Bug ID: 38328
Summary: clang-format crash inside SourceManager on malformed
UTF file.
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Formatter
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Created attachment 20603
--> https://bugs.llvm.org/attachment.cgi?id=20603&action=edit
clang-format < clang-format.crash results in a segfault.
clang-format crashes on a file with bad UTF codepoints. The crash itself seems
to be inside the libclang SourceManager however, which is a little weird. I've
submitted against the Formatter, but it might be a libclang SourceManager bug
too.
cheers, Phil
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs