https://llvm.org/bugs/show_bug.cgi?id=25156
Bug ID: 25156 Summary: Clang++ crashes on #include<string> or #include<iostream> Product: clang Version: 3.5 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Frontend Assignee: unassignedclangb...@nondot.org Reporter: fcapobianc...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 15062 --> https://llvm.org/bugs/attachment.cgi?id=15062&action=edit Contains preprocessed source and crash backtrace. Using clang++ command: clang++ -w -S -emit-llvm sample_save.c -o sample.bc Error is produced when #include<string> or #include<iostream> are added to source. If these are excluded clang++ will not crash and will display compiler errors as expected. Note the source code was generated using the Hex-Rays decompiler. Despite this I have had success decompiling C binaries and recompiling with clang, however this error is with decompiled C++ binaries. -- 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