[LLVMbugs] [Bug 16606] New: clang runtime error when compiled with visual studio 2013 preview
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 11 22:09:00 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16606
Bug ID: 16606
Summary: clang runtime error when compiled with visual studio
2013 preview
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: frozen000777 at hotmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
cmake -g "visual studio 12"
i maked a visual studio solution file successfully.
and compiled solution file successfully.
but clang runtile error occured.
clang -cc1 version 3.4 based upon LLVM 3.4svn default target i686-pc-win32
#include "..." search starts here:
#include <...> search starts here:
C:\\clang\\build\\bin\\Debug\\..\\lib\\clang\\3.4\\include
C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\include
C:\\Program Files (x86)\\Windows Kits\\8.1\\\\include
End of search list.
Assertion failed: isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible
ty
pe!", file C:\clang13\llvm\include\llvm/Support/Casting.h, line 248
Stack dump:
0. Program arguments: C:\clang13\build\bin\Debug\clang.exe -cc1 -triple
i68
6-pc-win32 -emit-obj -mrelax-all -disable-free -main-file-name test.cpp
-mreloca
tion-model static -mdisable-fp-elim -fmath-errno -masm-verbose
-mconstructor-ali
ases -target-cpu pentium4 -v -coverage-file test.o -resource-dir
C:\\clang\\buil
d\\bin\\Debug\\..\\lib\\clang\\3.4 -internal-isystem
C:\\clang\\build\\bin\\Debu
g\\..\\lib\\clang\\3.4\\include -internal-isystem C:\\Program Files
(x86)\\Micro
soft Visual Studio 12.0\\VC\\include -internal-isystem C:\\Program Files
(x86)\\
Windows Kits\\8.1\\\\include -std=c++11 -fdeprecated-macro -ferror-limit 19
-fme
ssage-length 80 -mstackrealign -fms-extensions -fms-compatibility
-fmsc-version=
1300 -fdelayed-template-parsing -fobjc-runtime=gcc
-fobjc-default-synthesize-pro
perties -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-fcolor-diagnost
ics -vectorize-loops -o test.o -x c++ test.cpp
1. <built-in>:28:16: current parser token ';'
0x5C23146A (0x0000000A 0x00000000 0x00C4C9D8 0x5C309954), memcmp() + 0xABA
bytes
(s)
0x5C31B0DC (0x00C4CA3C 0x00C4C9EC 0x00000094 0x00000000), abort() + 0x1C
bytes(s
)
0x5C309954 (0x03F66A00 0x03F21ED0 0x000000F8 0x00C4E388), _wassert() + 0xD4
byte
s(s)
0x0334AAE1 (0x04798660 0x04E33440 0x00C4CA3C 0x033288F5),
llvm::cast_or_null<cla
ng::RecordDecl,clang::TagDecl const >() + 0x41 bytes(s),
c:\clang13\llvm\include
\llvm\support\casting.h, line 248 + 0x33 byte(s)
0x0338B91C (0x00C4D164 0x00C4E388 0xCCCCCCCC 0xCCCCCCCC),
clang::RecordDecl::get
PreviousDecl() + 0x1C bytes(s),
c:\clang13\llvm\tools\clang\include\clang\ast\de
cl.h, line 2925 + 0xE byte(s)
0x033288F5 (0x00C4CA70 0x04E33440 0x00C4E388 0x04E296D8),
clang::ASTContext::get
TypeDeclTypeSlow() + 0x115 bytes(s),
c:\clang13\llvm\tools\clang\lib\ast\astcont
ext.cpp, line 2922 + 0x8 byte(s)
0x020F0519 (0x00C4CA70 0x04E33440 0x00000000 0x04E04F80),
clang::ASTContext::get
TypeDeclType() + 0xC9 bytes(s),
c:\clang13\llvm\tools\clang\include\clang\ast\as
tcontext.h, line 1007 + 0x10 byte(s)
0x032E2CE0 (0x04E296D8 0x00000003 0x04E33134 0x00000326),
clang::CXXRecordDecl::
Create() + 0xB0 bytes(s), c:\clang13\llvm\tools\clang\lib\ast\declcxx.cpp, line
95
0x0253B79B (0x04E545A0 0x00000012 0x00000001 0x00000326),
clang::Sema::ActOnTag(
) + 0x1AEB bytes(s), c:\clang13\llvm\tools\clang\lib\sema\semadecl.cpp, line
102
98 + 0x35 byte(s)
0x024B118B (0x0000007C 0x00000326 0x00C4DD6C 0x00C4DCF0),
clang::Parser::ParseCl
assSpecifier() + 0x159B bytes(s),
c:\clang13\llvm\tools\clang\lib\parse\parsedec
lcxx.cpp, line 1578 + 0x9A byte(s)
0x024698D2 (0x00C4DD6C 0x00C4DCF0 0x00000003 0x00000004),
clang::Parser::ParseDe
clarationSpecifiers() + 0x1692 bytes(s),
c:\clang13\llvm\tools\clang\lib\parse\p
arsedecl.cpp, line 2997
0x0244E1A8 (0x00C4E2AC 0x00C4E2C0 0x00C4DD6C 0x00000003),
clang::Parser::ParseDe
clOrFunctionDefInternal() + 0x38 bytes(s),
c:\clang13\llvm\tools\clang\lib\parse
\parser.cpp, line 850
0x0244E0F9 (0x00C4E2AC 0x00C4E2C0 0x00000000 0x00000003),
clang::Parser::ParseDe
clarationOrFunctionDefinition() + 0x89 bytes(s),
c:\clang13\llvm\tools\clang\lib
\parse\parser.cpp, line 912 + 0x1B byte(s)
0x0244DAFC (0x00C4E2AC 0x00C4E2C0 0x00000000 0x00C4E378),
clang::Parser::ParseEx
ternalDeclaration() + 0x93C bytes(s),
c:\clang13\llvm\tools\clang\lib\parse\pars
er.cpp, line 777 + 0x16 byte(s)
0x0244AC2A (0x00C4E330 0x00C4E5F8 0x00C4E388 0x04E51AA0),
clang::Parser::ParseTo
pLevelDecl() + 0x13A bytes(s),
c:\clang13\llvm\tools\clang\lib\parse\parser.cpp,
line 582 + 0x12 byte(s)
0x0244888A (0x04E507F0 0x00000000 0x00000000 0x00C4E600), clang::ParseAST() +
0x
11A bytes(s), c:\clang13\llvm\tools\clang\lib\parse\parseast.cpp, line 134 +
0xC
byte(s)
0x0230BF7D (0x00C4E67C 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC),
clang::ASTFrontendActi
on::ExecuteAction() + 0xED bytes(s),
c:\clang13\llvm\tools\clang\lib\frontend\fr
ontendaction.cpp, line 474 + 0x30 byte(s)
0x0207EF4B (0x00C4E628 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC),
clang::CodeGenAction::
ExecuteAction() + 0x33B bytes(s),
c:\clang13\llvm\tools\clang\lib\codegen\codege
naction.cpp, line 437
0x0230BBBC (0x00C4E718 0x00C4F734 0xCCCCCCCC 0xCCCCCCCC),
clang::FrontendAction:
:Execute() + 0xAC bytes(s),
c:\clang13\llvm\tools\clang\lib\frontend\frontendact
ion.cpp, line 378 + 0xF byte(s)
0x022F6F91 (0x04E09280 0x00C4EC78 0xCCCCCCCC 0xCCCCCCCC),
clang::CompilerInstanc
e::ExecuteAction() + 0x281 bytes(s),
c:\clang13\llvm\tools\clang\lib\frontend\co
mpilerinstance.cpp, line 702
0x02038838 (0x04E04B10 0x00C4FB68 0xCCCCCCCC 0xCCCCCCCC),
clang::ExecuteCompiler
Invocation() + 0x308 bytes(s),
c:\clang13\llvm\tools\clang\lib\frontendtool\exec
utecompilerinvocation.cpp, line 237 + 0x11 byte(s)
0x00E2F590 (0x00C4F73C 0x00C4F800 0x04E002E8 0x00D8131B), cc1_main() + 0x2F0
byt
es(s), c:\clang13\llvm\tools\clang\tools\driver\cc1_main.cpp, line 100 + 0xE
byt
e(s)
0x00E1DF99 (0x00000033 0x04DFFCE8 0x04DFD418 0xCAE92AE9), main() + 0x149
bytes(s
), c:\clang13\llvm\tools\clang\tools\driver\driver.cpp, line 359 + 0x45 byte(s)
0x031382D9 (0x00C4FBCC 0x7539850D 0x7FAEC000 0x00C4FC10), __tmainCRTStartup() +
0x199 bytes(s), f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c, line 617 + 0x19
byte
(s)
0x0313841D (0x7FAEC000 0x00C4FC10 0x77D7BF39 0x7FAEC000), mainCRTStartup() +
0xD
bytes(s), f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c, line 457
0x7539850D (0x7FAEC000 0xB99693A5 0x00000000 0x00000000), BaseThreadInitThunk()
+ 0xE bytes(s)
0x77D7BF39 (0x03138410 0x7FAEC000 0xFFFFFFFF 0x77DF1DF7),
RtlInitializeException
Chain() + 0x85 bytes(s)
0x77D7BF0C (0x03138410 0x7FAEC000 0x00000000 0x00000000),
RtlInitializeException
Chain() + 0x58 bytes(s)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130712/dec17efe/attachment.html>
More information about the llvm-bugs
mailing list