mchalupa / dg

[LLVM Static Slicer] Various program analyses, construction of dependence graphs and program slicing of LLVM bitcode.
MIT License
474 stars 131 forks source link

Address boundary error when building dg graph in Make 4.2 #442

Open yuyuyuyuuu opened 2 years ago

yuyuyuyuuu commented 2 years ago

Hi, llvm-dg-dump crashed when I analyze the llvm byte code of make in GNU Make-4.2.

Please what is the reason for this and any suggestions to solve it?

# /data/dg/build/tools/llvm-dg-dump make.bc
IntToPtr with constant:   <badref> = inttoptr i64 -1 to void (i32)*
WARNING: Saving stack may yield unsound results!:   %110 = call i8* @llvm.stacksave(), !dbg !3728
PTA: Inline assembly found, analysis  may be unsound
IntToPtr with constant:   <badref> = inttoptr i64 1 to void (i32)*
#0 0x00007f30588ce0ea llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1+0x81e0ea)
#1 0x00007f30588cc366 llvm::sys::RunSignalHandlers() (/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1+0x81c366)
#2 0x00007f30588cc49b (/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1+0x81c49b)
#3 0x00007f3056fb9f10 (/lib/x86_64-linux-gnu/libc.so.6+0x3ef10)
#4 0x00007f305ca1f67d dg::llvmutils::callIsCompatible(llvm::Function const*, llvm::CallInst const*, dg::llvmutils::CallCompatibility) /data/dg/lib/llvm/llvm-utils.h:73:34
#5 0x00007f305c803423 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:54:13
#6 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#7 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#8 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#9 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#10 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#11 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#12 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#13 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#14 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#15 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#16 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#17 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#18 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#19 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#20 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#21 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#22 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#23 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#24 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#25 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#26 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#27 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#28 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#29 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#30 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#31 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#32 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#33 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#34 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#35 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#36 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#37 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#38 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#39 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#40 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#41 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#42 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#43 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#44 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#45 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#46 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#47 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#48 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#49 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#50 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#51 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#52 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#53 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#54 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#55 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#56 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#57 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#58 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#59 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#60 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#61 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#62 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#63 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#64 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#65 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#66 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#67 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#68 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#69 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#70 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#71 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#72 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#73 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#74 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#75 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#76 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#77 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#78 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#79 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#80 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#81 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#82 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#83 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#84 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#85 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#86 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#87 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#88 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#89 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#90 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#91 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#92 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#93 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#94 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#95 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#96 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#97 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#98 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#99 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
... TOOO LONG TO SHOW
#301 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#302 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#303 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#304 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#305 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#306 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#307 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#308 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#309 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#310 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#311 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#312 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#313 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#314 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#315 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#316 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#317 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#318 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#319 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#320 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#321 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#322 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#323 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#324 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#325 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#326 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#327 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#328 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#329 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#330 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#331 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#332 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#333 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#334 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#335 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#336 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#337 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#338 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#339 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#340 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#341 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#342 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#343 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#344 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#345 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#346 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#347 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#348 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#349 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#350 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#351 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#352 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#353 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#354 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#355 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#356 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#357 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#358 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#359 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#360 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#361 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#362 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#363 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#364 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#365 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#366 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#367 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#368 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#369 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#370 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#371 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#372 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#373 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#374 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#375 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#376 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#377 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#378 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#379 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#380 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#381 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#382 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#383 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#384 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#385 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#386 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#387 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#388 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#389 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#390 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#391 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#392 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#393 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#394 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#395 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#396 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#397 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#398 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#399 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#400 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#401 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#402 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#403 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#404 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#405 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#406 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#407 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#408 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#409 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#410 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#411 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#412 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#413 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#414 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#415 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#416 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#417 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#418 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#419 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#420 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#421 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#422 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#423 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#424 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#425 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#426 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#427 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#428 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#429 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
#430 0x00007f305c7fde1b dg::NodesSeq<dg::dda::RWNode>::getRepresentant() const /data/dg/lib/llvm/GraphBuilder.h:33:45
#431 0x00007f305c7fde1b dg::GraphBuilder<dg::dda::RWNode, dg::dda::RWBBlock, dg::dda::RWSubgraph>::buildNode(llvm::Value const*) /data/dg/lib/llvm/GraphBuilder.h:110:0
#432 0x00007f305c7fdca2 std::_Vector_base<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#433 0x00007f305c7fdca2 std::vector<dg::dda::RWNode*, std::allocator<dg::dda::RWNode*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#434 0x00007f305c7fdca2 dg::NodesSeq<dg::dda::RWNode>::~NodesSeq() /data/dg/lib/llvm/GraphBuilder.h:15:0
#435 0x00007f305c7fdca2 dg::dda::LLVMReadWriteGraphBuilder::getOperand(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/LLVMReadWriteGraphBuilder.cpp:134:0
#436 0x00007f305c7ff17d dg::dda::LLVMReadWriteGraphBuilder::addReallocUses(llvm::Instruction const*, dg::dda::RWNode&, unsigned long) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:181:14
#437 0x00007f305c7fecef dg::dda::LLVMReadWriteGraphBuilder::createRealloc(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:138:5
#438 0x00007f305c8043fb dg::dda::LLVMReadWriteGraphBuilder::createCallToUndefinedFunction(llvm::Function const*, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:345:20
#439 0x00007f305c803656 dg::dda::LLVMReadWriteGraphBuilder::createCallToFunctions(std::vector<llvm::Function const*, std::allocator<llvm::Function const*> > const&, llvm::CallInst const*) /data/dg/lib/llvm/ReadWriteGraph/Calls.cpp:62:37
#440 0x00007f305c7ff7b2 std::_Vector_base<llvm::Function const*, std::allocator<llvm::Function const*> >::~_Vector_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:162:37
#441 0x00007f305c7ff7b2 std::vector<llvm::Function const*, std::allocator<llvm::Function const*> >::~vector() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_vector.h:435:0
#442 0x00007f305c7ff7b2 dg::dda::LLVMReadWriteGraphBuilder::createCall(llvm::Instruction const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:315:0
#443 0x00007f305c7ffc5e dg::dda::LLVMReadWriteGraphBuilder::createNode(llvm::Value const*) /data/dg/lib/llvm/ReadWriteGraph/Instructions.cpp:399:16
fish: Job 1, '/data/dg/build/tools/llvm-dg-...' terminated by signal SIGSEGV (Address boundary error)

make.zip

mchalupa commented 2 years ago

Hi, seems like a duplicate of #335 . Unfortunately, I haven't had time to fix this yet.

yuyuyuyuuu commented 2 years ago

Thanks, I get it.

mchalupa commented 2 years ago

btw. https://github.com/polish-polish/dg/commit/4f89c424094ef9827dc3369b278e8c2daf874d93 has a workaround for this issue.

yuyuyuyuuu commented 2 years ago

Thanks a lot.