[LLVMbugs] [Bug 16995] New: Assertion `VariableDIE && "Static member decl has no context?"' failed
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Aug 25 04:05:53 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16995
Bug ID: 16995
Summary: Assertion `VariableDIE && "Static member decl has no
context?"' failed
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: clang at martinien.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 11095
--> http://llvm.org/bugs/attachment.cgi?id=11095&action=edit
Reproduction files
Hi,
the attached reproduction script causes a clang assertion here:
clang:
/sapmnt/trextest/trex_test/mrich/llvm34_trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:1356:
void llvm::CompileUnit::createGlobalVariableDIE(const llvm::MDNode *):
Assertion `VariableDIE && "Static member decl has no context?"' failed.
0 clang 0x000000000209b565 llvm::sys::PrintStackTrace(_IO_FILE*) +
37
1 clang 0x000000000209b9b3
2 libpthread.so.0 0x00002b8ea8d166b0
3 libc.so.6 0x00002b8ea9d25945 gsignal + 53
4 libc.so.6 0x00002b8ea9d26f21 abort + 385
5 libc.so.6 0x00002b8ea9d1e810 __assert_fail + 240
6 clang 0x0000000001ace30d
llvm::CompileUnit::createGlobalVariableDIE(llvm::MDNode const*) + 461
7 clang 0x0000000001aa6f05 llvm::DwarfDebug::beginModule() + 549
8 clang 0x0000000001aa6c4c
llvm::DwarfDebug::DwarfDebug(llvm::AsmPrinter*, llvm::Module*) + 2028
9 clang 0x0000000001a98a91
llvm::AsmPrinter::doInitialization(llvm::Module&) + 593
10 clang 0x0000000002039126
llvm::FPPassManager::doInitialization(llvm::Module&) + 86
11 clang 0x00000000020392fe
llvm::MPPassManager::runOnModule(llvm::Module&) + 174
12 clang 0x0000000002039a9b llvm::PassManagerImpl::run(llvm::Module&)
+ 539
13 clang 0x0000000002039c0a llvm::PassManager::run(llvm::Module&) +
10
14 clang 0x0000000000846077
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 6039
15 clang 0x0000000000843abb
16 clang 0x00000000009a0c53 clang::ParseAST(clang::Sema&, bool, bool)
+ 515
17 clang 0x0000000000842f22 clang::CodeGenAction::ExecuteAction() +
514
18 clang 0x00000000006c57c1 clang::FrontendAction::Execute() + 113
19 clang 0x00000000006a3b8d
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 909
20 clang 0x000000000068ac80
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3104
21 clang 0x00000000006825cf cc1_main(char const**, char const**, char
const*, void*) + 703
22 clang 0x0000000000688da4 main + 8388
23 libc.so.6 0x00002b8ea9d11bc6 __libc_start_main + 230
24 clang 0x0000000000682249
This works on clang 3.3, so it is a regression on trunk.
Best regards,
Martin
--
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/20130825/d20b1bfb/attachment.html>
More information about the llvm-bugs
mailing list