https://bugs.llvm.org/show_bug.cgi?id=35682
Bug ID: 35682
Summary: clang frontend crash with parser at end of file
Product: clang
Version: 5.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangb...@nondot.org
Reporter: tompearson2...@gmail.com
CC: llvm-bugs@lists.llvm.org
Created attachment 19564
--> https://bugs.llvm.org/attachment.cgi?id=19564&action=edit
C++ file which causes crash
The clang frontend crashes at the end of file when compiling a small C++ file.
The crash can be reproduced by invoking:
clang++ -o /dev/null -std=c++1z -stdlib=libc++ -Wall -Wpedantic -Werror -O0
-emit-llvm -c value.cpp
where value.cpp is the name of the file.
Although the file is not valid C++, clang should not crash.
This occurred on Antergos Linux with kernel version 4.14.5-1-ARCH, with clang
version 5.0.0.
--
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