[LLVMbugs] [Bug 20947] New: MS ABI: Pointers to pointer-to-members crashes in CodeGen
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Sep 15 10:01:13 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20947
Bug ID: 20947
Summary: MS ABI: Pointers to pointer-to-members crashes in
CodeGen
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: david.majnemer at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
consider:
struct S;
int S::**x;
#3 0x00007ffff6bd5b22 in __GI___assert_fail (assertion=0x559aca0 "IA &&
\"Expected MSInheritanceAttr on the CXXRecordDecl!\"", file=0x559ac38
"~/llvm/src/tools/clang/lib/AST/MicrosoftCXXABI.cpp", line=0x81,
function=0x559ca80 <clang::CXXRecordDecl::getMSInheritanceModel()
const::__PRETTY_FUNCTION__> "clang::MSInheritanceAttr::Spelling
clang::CXXRecordDecl::getMSInheritanceModel() const") at assert.c:101
#4 0x0000000003c8e7a4 in clang::CXXRecordDecl::getMSInheritanceModel
(this=0x6641120) at ~/llvm/src/tools/clang/lib/AST/MicrosoftCXXABI.cpp:129
#5 0x00000000027b63ae in (anonymous
namespace)::MicrosoftCXXABI::ConvertMemberPointerType (this=0x66623f0,
MPT=0x66411f0) at ~/llvm/src/tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp:1813
#6 0x000000000279a3c8 in clang::CodeGen::CodeGenTypes::ConvertType
(this=0x6661ae8, T=...) at
~/llvm/src/tools/clang/lib/CodeGen/CodeGenTypes.cpp:591
#7 0x0000000002798d4e in clang::CodeGen::CodeGenTypes::ConvertTypeForMem
(this=0x6661ae8, T=...) at
~/llvm/src/tools/clang/lib/CodeGen/CodeGenTypes.cpp:85
#8 0x0000000002799ada in clang::CodeGen::CodeGenTypes::ConvertType
(this=0x6661ae8, T=...) at
~/llvm/src/tools/clang/lib/CodeGen/CodeGenTypes.cpp:423
#9 0x0000000002798d4e in clang::CodeGen::CodeGenTypes::ConvertTypeForMem
(this=0x6661ae8, T=...) at
~/llvm/src/tools/clang/lib/CodeGen/CodeGenTypes.cpp:85
#10 0x00000000026bf90f in clang::CodeGen::CodeGenModule::EmitNullConstant
(this=0x6661a30, T=...) at
~/llvm/src/tools/clang/lib/CodeGen/CGExprConstant.cpp:1467
#11 0x000000000270b55e in
clang::CodeGen::CodeGenModule::EmitGlobalVarDefinition (this=0x6661a30,
D=0x6641290) at ~/llvm/src/tools/clang/lib/CodeGen/CodeGenModule.cpp:1842
#12 0x0000000002709ff2 in clang::CodeGen::CodeGenModule::EmitGlobalDefinition
(this=0x6661a30, GD=..., GV=0x0) at
~/llvm/src/tools/clang/lib/CodeGen/CodeGenModule.cpp:1423
#13 0x00000000027098fa in clang::CodeGen::CodeGenModule::EmitGlobal
(this=0x6661a30, GD=...) at
~/llvm/src/tools/clang/lib/CodeGen/CodeGenModule.cpp:1278
#14 0x00000000027105d2 in clang::CodeGen::CodeGenModule::EmitTopLevelDecl
(this=0x6661a30, D=0x6641290) at
~/llvm/src/tools/clang/lib/CodeGen/CodeGenModule.cpp:3028
#15 0x000000000268e0fd in (anonymous
namespace)::CodeGeneratorImpl::HandleTopLevelDecl (this=0x6641cc0, DG=...) at
~/llvm/src/tools/clang/lib/CodeGen/ModuleBuilder.cpp:114
#16 0x000000000267a6c4 in clang::BackendConsumer::HandleTopLevelDecl
(this=0x6641b00, D=...) at
~/llvm/src/tools/clang/lib/CodeGen/CodeGenAction.cpp:104
#17 0x000000000300136a in clang::ParseAST (S=..., PrintStats=0x0,
SkipFunctionBodies=0x0) at ~/llvm/src/tools/clang/lib/Parse/ParseAST.cpp:143
#18 0x0000000002350154 in clang::ASTFrontendAction::ExecuteAction
(this=0x660e1f0) at ~/llvm/src/tools/clang/lib/Frontend/FrontendAction.cpp:522
#19 0x000000000267ce77 in clang::CodeGenAction::ExecuteAction (this=0x660e1f0)
at ~/llvm/src/tools/clang/lib/CodeGen/CodeGenAction.cpp:717
#20 0x000000000234fc2f in clang::FrontendAction::Execute (this=0x660e1f0) at
~/llvm/src/tools/clang/lib/Frontend/FrontendAction.cpp:423
#21 0x000000000231b954 in clang::CompilerInstance::ExecuteAction
(this=0x660d380, Act=...) at
~/llvm/src/tools/clang/lib/Frontend/CompilerInstance.cpp:806
#22 0x0000000002456715 in clang::ExecuteCompilerInvocation (Clang=0x660d380) at
~/llvm/src/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:222
#23 0x00000000010e1daa in cc1_main (Argv=..., Argv0=0x7fffffffe4a2
"~/llvm/Debug+Asserts/bin/clang", MainAddr=0x10d9693 <GetExecutablePath(char
const*, bool)>) at ~/llvm/src/tools/clang/tools/driver/cc1_main.cpp:110
--
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/20140915/c47a5210/attachment.html>
More information about the llvm-bugs
mailing list