8000 Poolalloc asserts when handling indirect function call to a function with no body · Issue #8000 · llvm/llvm-project · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Poolalloc asserts when handling indirect function call to a function with no body #8000
Closed
@llvmbot

Description

@llvmbot
Bugzilla Link 7628
Resolution FIXED
Resolved on Jul 12, 2010 13:20
Version trunk
OS Linux
Attachments Reduced test case from 254.gap
Reporter LLVM Bugzilla Contributor

Extended Description

I get the following assertion when running DSA on the attached test case:

opt: /home/vadve/criswell/src/llvm27/projects/poolalloc/lib/PoolAllocate/TransformFunctionBody.cpp:833: void::FuncTransform::visitCallSite(llvm::CallSite&): Assertion `(Graphs.hasDSGraph(CF)) && "Function has no DSGraph!\n"' failed.
0 opt 0x0000000000b9555a
1 opt 0x0000000000b95b40
2 libpthread.so.0 0x000000320fe0eb10
3 libc.so.6 0x000000320f230265 gsignal + 53
4 libc.so.6 0x000000320f231d10 abort + 272
5 libc.so.6 0x000000320f2296e6 __assert_fail + 246
6 libpoolalloc.so 0x00002af6143df092
7 libpoolalloc.so 0x00002af6143dfe1a
8 libpoolalloc.so 0x00002af6143dfe39
9 libpoolalloc.so 0x00002af6143e01c0
10 libpoolalloc.so 0x00002af6143e0289
11 libpoolalloc.so 0x00002af6143e02de
12 libpoolalloc.so 0x00002af6143e0323
13 libpoolalloc.so 0x00002af6143e0378
14 libpoolalloc.so 0x00002af6143e03d9 llvm::PoolAllocate::TransformBody(llvm::DSGraph
, llvm::PA::FuncInfo&, std::multimap<llvm::AllocaInst*, llvm::Instruction*, std::lessllvm::AllocaInst*, std::allocator<std::pair<llvm::AllocaInst* const, llvm::Instruction*> > >&, std::multimap<llvm::AllocaInst*, llvm::CallInst*, std::lessllvm::AllocaInst*, std::allocator<std::pair<llvm::AllocaInst* const, llvm::CallInst*> > >&, llvm::Function&) + 89
15 libpoolalloc.so 0x00002af6143bfe90 llvm::PoolAllocate::ProcessFunctionBody(llvm::Function&, llvm::Function&) + 1204
16 libpoolalloc.so 0x00002af6143c25a1 llvm::PoolAllocate::runOnModule(llvm::Module&) + 1529
17 opt 0x0000000000b11436 llvm::MPPassManager::runOnModule(llvm::Module&) + 382
18 opt 0x0000000000b12ea9 llvm::PassManagerImpl::run(llvm::Module&) + 111
19 opt 0x0000000000b12f0b llvm::PassManager::run(llvm::Module&) + 33
20 opt 0x000000000078a156 main + 3324
21 libc.so.6 0x000000320f21d994 __libc_start_main + 244
22 opt 0x000000000077c239
Stack dump:
0. Program arguments: /home/vadve/criswell/box/x86/llvm27/Debug/bin/opt -load /home/vadve/criswell/box/x86/llvm27/projects/poolalloc/Debug/lib/libLLVMDataStructure.so -load /home/vadve/criswell/box/x86/llvm27/projects/poolalloc/Debug/lib/libpoolalloc.so -poolalloc bugpoint-reduced-simplified.bc -f -o /dev/null

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0