<div dir="ltr"><div>This needs more information.  If you build clang with debug information, then it will automatically symbolize the stack trace of your crashes.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Oct 15, 2013 at 2:41 AM, 湖西Zero <span dir="ltr"><<a href="mailto:lifangmu@foxmail.com" target="_blank">lifangmu@foxmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>When I use VS2013 to build clang successfully, using Clang compile C or C + + program, whether it is with VC + +2012 (Windows kit 8.0) backend or VC + +2013 (Windows kit 8.1) as the backend, Clang without a exceptions are unresponsive.</div>

<div> </div>
<div> </div>
<div>Use Visual Studio 2013 X64 toochain( Lib Header tools)<br><font style="BACKGROUND-COLOR:#ffff99">E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64>clang bd.c -v<br>clang version 3.4 (trunk)<br>
Target: x86_64-pc-win32<br>Thread model: posix<br> "E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\clang.exe" -cc1 -triple x86_64-pc-win<br>32 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name bd.c -mrelocation-model pic -pic-level 2 -<br>
mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -v -resource-dir "E<br>:\\ClangSetup\\Build\\MSVC12\\X64\\_CPack_Packages\\win64\\NSIS\\LLVM-3.4.svn-win64\\bin\\..\\lib\\clang\\3.4" -internal<br>
-isystem "E:\\ClangSetup\\Build\\MSVC12\\X64\\_CPack_Packages\\win64\\NSIS\\LLVM-3.4.svn-win64\\bin\\..\\lib\\clang\\3.4<br></font><a><font style="BACKGROUND-COLOR:#ffff99">\\include</font></a><font style="BACKGROUND-COLOR:#ffff99">" -internal-isystem "E:\\ClangSetup\\Build\\MSVC12\\X64\\_CPack_Packages\\win64\\NSIS\\LLVM-3.4.svn-win64\\incl<br>
ude" -internal-isystem "D:\\Program Files\\Microsoft Visual Studio 12.0\\VC\\INCLUDE" -internal-isystem "D:\\Program Fil<br>es\\Microsoft Visual Studio 12.0\\VC\\ATLMFC\\INCLUDE" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\8.1\\in<br>
clude\\shared" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\8.1\\include\\um" -internal-isystem "C:\\Progra<br>m Files (x86)\\Windows Kits\\8.1\\include\\winrt" -fdebug-compilation-dir "E:\\ClangSetup\\Build\\MSVC12\\X64\\_CPack_Pa<br>
ckages\\win64\\NSIS\\LLVM-3.4.svn-win64" -ferror-limit 19 -fmessage-length 120 -mstackrealign -fms-extensions -fms-compa<br>tibility -fmsc-version=1700 -fdelayed-template-parsing -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics<br>
-vectorize-slp -o "D:\\Users\\HUXIZE~1\\Local\\Temp\\bd-f135a8.o" -x c bd.c<br>clang -cc1 version 3.4 based upon LLVM 3.4svn default target x86_64-pc-win32<br>#include "..." search starts here:<br>#include <...> search starts here:<br>
 E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\..\lib\clang\3.4\include<br> E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\include<br> D:\Program Files\Microsoft Visual Studio 12.0\VC\INCLUDE<br>
 D:\Program Files\Microsoft Visual Studio 12.0\VC\ATLMFC\INCLUDE<br> C:\Program Files (x86)\Windows Kits\8.1\include\shared<br> C:\Program Files (x86)\Windows Kits\8.1\include\um<br> C:\Program Files (x86)\Windows Kits\8.1\include\winrt<br>
End of search list.<br>Stack dump:<br>0.      Program arguments: E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\clang.exe -c<br>c1 -triple x86_64-pc-win32 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name bd.c -mrelocation-<br>
model pic -pic-level 2 -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x8<br>6-64 -v -resource-dir E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\..\lib\clang\3.4<br>
-internal-isystem E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\..\lib\clang\3.4\incl<br>ude -internal-isystem E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\include -internal-isy<br>
stem D:\Program Files\Microsoft Visual Studio 12.0\VC\INCLUDE -internal-isystem D:\Program Files\Microsoft Visual Studio<br> 12.0\VC\ATLMFC\INCLUDE -internal-isystem C:\Program Files (x86)\Windows Kits\8.1\include\shared -internal-isystem C:\Pr<br>
ogram Files (x86)\Windows Kits\8.1\include\um -internal-isystem C:\Program Files (x86)\Windows Kits\8.1\include\winrt -f<br>debug-compilation-dir E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64 -ferror-limit 19 -fme<br>
ssage-length 120 -mstackrealign -fms-extensions -fms-compatibility -fmsc-version=1700 -fdelayed-template-parsing -fobjc-<br>runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o D:\Users\HUXIZE~1\Local\Temp\bd-f135a8.o -x<br>
c bd.c<br>1.      D:\Program Files\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h:2074:55: current parser token ';'<br>0x00007FF7985D06D0 (0x00000023410D1220 0x000000234101C610 0x000000234101D5B0 0x0000000000000000)<br>
0x00007FF798130777 (0x00000023410AEE78 0x0000000000000000 0x00000023000282D0 0x0000000000000006)<br>0x00007FF798128160 (0x000000234101CDF0 0x00000023410AED20 0x000000234101CDF0 0x00007FF797F4B422)<br>0x00007FF798128B83 (0x00000023430DD0D8 0x00007FF79811923F 0x0000000000000000 0x00000023410AEE78)<br>
0x00007FF79812BC11 (0x00000023430DD0F8 0x00000023410DBDD0 0x00000023430DD0F8 0x000000234101C7C0)<br>0x00007FF798029659 (0x0000002341289EC7 0x0000002341130B80 0x000000234101CB60 0x00000023430DD0C0)<br>0x00007FF7980101AF (0x0000002300000002 0x000000234101C990 0x00003B574CB1BEA9 0x000000234101C9D0)<br>
0x00007FF797F96785 (0x00000023000282E7 0x0000002341130B70 0x00007FF797F99818 0x0000002341130B70)<br>0x00007FF797F95AFA (0x000000234101DAF0 0x00007FF797F4B422 0x000000234101D560 0x000000234101D600)<br>0x00007FF797F9FA34 (0x0000002341130B70 0x00000023410AED20 0x0000002341130B70 0x00007FF797F4B422)<br>
0x00007FF797F9603D (0x0000000000000000 0x0000000000000000 0x0000002341130B70 0x000000234101DB38)<br>0x00007FF797F873AC (0x0000000000000000 0x00000023430D7D00 0x000000234101DB80 0x00000023410ADAB0)<br>0x00007FF797F89159 (0x0000002341130E78 0x00000023430D7D00 0x0000002341130B70 0x00000023410CFC50)<br>
0x00007FF797F836F6 (0x0000000000000000 0x0000000000000000 0x00000023410A43F0 0x0000000000000000)<br>0x00007FF797F076CB (0x00000023410A83D0 0x00000023410A43F0 0x00000023410AD280 0x00000023410A8300)<br>0x00007FF797DCB9A7 (0x00000023410A83D0 0x0000000000000000 0x00000023410A43F0 0x00000023410A83D0)<br>
0x00007FF797F075D3 (0x0000000000000000 0x00000023410A43F0 0x00000023410A43F0 0x0000000000000000)<br>0x00007FF797F00412 (0x00000023410A56A0 0x00000023410A43F0 0x00000023410A83D0 0x0000000000000000)<br>0x00007FF797DBBCE9 (0x00000023410A43F0 0x00000023410A43F0 0x000000234109A1A0 0x00000023410A5780)<br>
0x00007FF79758F470 (0x00000023410A1070 0x0000000000000000 0x000000000000003A 0x0000000000000000)<br>0x00007FF79758DD29 (0x0000000000000000 0x0000000000000000 0x0000000000000001 0x0000000000000000)<br>0x00007FF7984C6580 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)<br>
0x00007FF9BB7C15BD (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), BaseThreadInitThunk()<br>+ 0xD bytes(s)<br>0x00007FF9BC6E43D1 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), RtlUserThreadStart() +<br>
 0x1D bytes(s)<br>clang.exe: error: clang frontend command failed due to signal (use -v to see invocation)<br>clang version 3.4 (trunk)<br>Target: x86_64-pc-win32<br>Thread model: posix<br>clang.exe: note: diagnostic msg: PLEASE submit a bug report to </font><a href="http://llvm.org/bugs/" target="_blank"><font style="BACKGROUND-COLOR:#ffff99">http://llvm.org/bugs/</font></a><font style="BACKGROUND-COLOR:#ffff99"> and include the crash backtrace, pr<br>
eprocessed source, and associated run script.<br>clang.exe: note: diagnostic msg:<br>********************</font></div>
<div><font style="BACKGROUND-COLOR:#ffff99">PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:<br>Preprocessed source(s) and associated run script(s) are located at:<br>clang.exe: note: diagnostic msg: D:\Users\HUXIZE~1\Local\Temp\bd-2173fb.c<br>
clang.exe: note: diagnostic msg: D:\Users\HUXIZE~1\Local\Temp\bd-2173fb.sh<br>clang.exe: note: diagnostic msg:</font></div>
<div><font style="BACKGROUND-COLOR:#ffff99">********************</font></div>
<div><font style="BACKGROUND-COLOR:#ffff99">E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64></font></div>
<div> </div>
<div>Use Visual Studio 2012 X64 toochain( Lib Header tools)</div>
<div><font style="BACKGROUND-COLOR:#ccffcc">E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64>clang bd.c -v<br>clang version 3.4 (trunk)<br>Target: x86_64-pc-win32<br>Thread model: posix<br>
 "E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\clang.exe" -cc1 -triple x86_64-pc-win<br>32 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name bd.c -mrelocation-model pic -pic-level 2 -<br>
mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -v -resource-dir "E<br>:\\ClangSetup\\Build\\MSVC12\\X64\\_CPack_Packages\\win64\\NSIS\\LLVM-3.4.svn-win64\\bin\\..\\lib\\clang\\3.4" -internal<br>
-isystem "E:\\ClangSetup\\Build\\MSVC12\\X64\\_CPack_Packages\\win64\\NSIS\\LLVM-3.4.svn-win64\\bin\\..\\lib\\clang\\3.4<br></font><a><font style="BACKGROUND-COLOR:#ccffcc">\\include</font></a><font style="BACKGROUND-COLOR:#ccffcc">" -internal-isystem "E:\\ClangSetup\\Build\\MSVC12\\X64\\_CPack_Packages\\win64\\NSIS\\LLVM-3.4.svn-win64\\incl<br>
ude" -internal-isystem "C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\INCLUDE" -internal-isystem "C:\\Progr<br>am Files (x86)\\Microsoft Visual Studio 11.0\\VC\\ATLMFC\\INCLUDE" -internal-isystem "C:\\Program Files (x86)\\Windows K<br>
its\\8.0\\include\\shared" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\8.0\\include\\um" -internal-isystem<br> "C:\\Program Files (x86)\\Windows Kits\\8.0\\include\\winrt" -fdebug-compilation-dir "E:\\ClangSetup\\Build\\MSVC12\\X6<br>
4\\_CPack_Packages\\win64\\NSIS\\LLVM-3.4.svn-win64" -ferror-limit 19 -fmessage-length 120 -mstackrealign -fms-extension<br>s -fms-compatibility -fmsc-version=1700 -fdelayed-template-parsing -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-<br>
diagnostics -vectorize-slp -o "D:\\Users\\HUXIZE~1\\Local\\Temp\\bd-b8e421.o" -x c bd.c<br>clang -cc1 version 3.4 based upon LLVM 3.4svn default target x86_64-pc-win32<br>#include "..." search starts here:<br>
#include <...> search starts here:<br> E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\..\lib\clang\3.4\include<br> E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\include<br>
 C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE<br> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\ATLMFC\INCLUDE<br> C:\Program Files (x86)\Windows Kits\8.0\include\shared<br> C:\Program Files (x86)\Windows Kits\8.0\include\um<br>
 C:\Program Files (x86)\Windows Kits\8.0\include\winrt<br>End of search list.<br>Stack dump:<br>0.      Program arguments: E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\clang.exe -c<br>c1 -triple x86_64-pc-win32 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name bd.c -mrelocation-<br>
model pic -pic-level 2 -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x8<br>6-64 -v -resource-dir E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\..\lib\clang\3.4<br>
-internal-isystem E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\bin\..\lib\clang\3.4\incl<br>ude -internal-isystem E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64\include -internal-isy<br>
stem C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE -internal-isystem C:\Program Files (x86)\Microsoft V<br>isual Studio 11.0\VC\ATLMFC\INCLUDE -internal-isystem C:\Program Files (x86)\Windows Kits\8.0\include\shared -internal-i<br>
system C:\Program Files (x86)\Windows Kits\8.0\include\um -internal-isystem C:\Program Files (x86)\Windows Kits\8.0\incl<br>ude\winrt -fdebug-compilation-dir E:\ClangSetup\Build\MSVC12\X64\_CPack_Packages\win64\NSIS\LLVM-3.4.svn-win64 -ferror-l<br>
imit 19 -fmessage-length 120 -mstackrealign -fms-extensions -fms-compatibility -fmsc-version=1700 -fdelayed-template-par<br>sing -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o D:\Users\HUXIZE~1\Local\Temp\bd-<br>
b8e421.o -x c bd.c<br>1.      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\crtdefs.h:1981:55: current parser token ';'<br>0x00007FF7985D06D0 (0x0000009E09EE16B0 0x0000009E09CDC4A0 0x0000009E09CDD440 0x0000000000000000)<br>
0x00007FF798130777 (0x0000009E09EBF308 0x0000000000000000 0x0000009E00024E59 0x0000000000000006)<br>0x00007FF798128160 (0x0000009E09CDCC80 0x0000009E09EBF1B0 0x0000009E09CDCC80 0x00007FF797F4B422)<br>0x00007FF798128B83 (0x0000009E0BD80810 0x00007FF79811923F 0x0000000000000000 0x0000009E09EBF308)<br>
0x00007FF79812BC11 (0x0000009E0BD80830 0x0000009E09EED2E0 0x0000009E0BD80830 0x0000009E09CDC650)<br>0x00007FF798029659 (0x0000009E09E5795A 0x0000009E09F42560 0x0000009E09CDC9F0 0x0000009E0BD807F8)<br>0x00007FF7980101AF (0x0000009E00000002 0x0000009E09CDC820 0x00006B3160C99BB7 0x0000009E09CDC860)<br>
0x00007FF797F96785 (0x0000009E00024E70 0x0000009E09F42550 0x00007FF797F99818 0x0000009E09F42550)<br>0x00007FF797F95AFA (0x0000009E09CDD980 0x00007FF797F4B422 0x0000009E09CDD3F0 0x0000009E09CDD400)<br>0x00007FF797F9FA34 (0x0000009E09F42550 0x0000009E09EBF1B0 0x0000009E09F42550 0x00007FF797F4B422)<br>
0x00007FF797F9603D (0x0000000000000000 0x0000000000000000 0x0000009E09F42550 0x0000009E09CDD9C8)<br>0x00007FF797F873AC (0x0000000000000000 0x0000009E0BD79610 0x0000009E09CDDA10 0x0000009E09EBDF40)<br>0x00007FF797F89159 (0x0000009E09F42858 0x0000009E0BD79610 0x0000009E09F42550 0x0000009E09EEEE90)<br>
0x00007FF797F836F6 (0x0000000000000000 0x0000000000000000 0x0000009E09EB3330 0x0000000000000000)<br>0x00007FF797F076CB (0x0000009E09EBAF20 0x0000009E09EB3330 0x0000009E09EBD710 0x0000009E09EBAF00)<br>0x00007FF797DCB9A7 (0x0000009E09EBAF20 0x0000000000000000 0x0000009E09EB3330 0x0000009E09EBAF20)<br>
0x00007FF797F075D3 (0x0000000000000000 0x0000009E09EB3330 0x0000009E09EB3330 0x0000000000000000)<br>0x00007FF797F00412 (0x0000009E09EBADB0 0x0000009E09EB3330 0x0000009E09EBAF20 0x0000000000000000)<br>0x00007FF797DBBCE9 (0x0000009E09EB3330 0x0000009E09EB3330 0x0000009E09EAAD20 0x0000009E09EBAE90)<br>
0x00007FF79758F470 (0x0000009E09EB56A0 0x0000000000000000 0x000000000000003A 0x0000000000000000)<br>0x00007FF79758DD29 (0x0000000000000000 0x0000000000000000 0x0000000000000001 0x0000000000000000)<br>0x00007FF7984C6580 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)<br>
0x00007FF9BB7C15BD (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), BaseThreadInitThunk()<br>+ 0xD bytes(s)<br>0x00007FF9BC6E43D1 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), RtlUserThreadStart() +<br>
 0x1D bytes(s)<br>clang.exe: error: clang frontend command failed due to signal (use -v to see invocation)<br>clang version 3.4 (trunk)<br>Target: x86_64-pc-win32<br>Thread model: posix<br>clang.exe: note: diagnostic msg: PLEASE submit a bug report to </font><a href="http://llvm.org/bugs/" target="_blank"><font style="BACKGROUND-COLOR:#ccffcc">http://llvm.org/bugs/</font></a><font style="BACKGROUND-COLOR:#ccffcc"> and include the crash backtrace, pr<br>
eprocessed source, and associated run script.<br>clang.exe: note: diagnostic msg:<br>********************</font></div>
<div><font style="BACKGROUND-COLOR:#ccffcc">PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:<br>Preprocessed source(s) and associated run script(s) are located at:<br>clang.exe: note: diagnostic msg: D:\Users\HUXIZE~1\Local\Temp\bd-103e49.c<br>
clang.exe: note: diagnostic msg: D:\Users\HUXIZE~1\Local\Temp\bd-103e49.sh<br>clang.exe: note: diagnostic msg:</font></div>
<div><font style="BACKGROUND-COLOR:#ccffcc">********************</font></div>
<div> </div>
<div>I will test  clang( VisualStudio 2013 x86 Build)</div>
<div>
<div style="FONT-SIZE:12px;FONT-FAMILY:Arial Narrow;COLOR:#909090">------------------</div>
<div style="font-size:14px;font-family:Verdana"><a href="http://wpa.qq.com/msgrd?v=3&uin=1053112601&site=qq&menu=yes" target="_blank"><img title="点击这里给我发消息" border="0"></a></div></div>
<div> </div><br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>