Displaying 3 results from an estimated 3 matches for "fa7e8ca4".
2013 May 30
0
[LLVMdev] unexpectedly loop hanging
Hi Alexandru,
> /*==5134== Invalid write of size 4
> ==5134== at 0x4039280: (anonymous
> namespace)::Hello::runOnModule(llvm::Module&) (in
> /home/alex/llvm/Release+Asserts/lib/Hello.so)
> ==5134== by 0x8E33DE3: llvm::MPPassManager::runOnModule(llvm::Module&) (in
> /home/alex/llvm/Release+Asserts/bin/opt)
> ==5134== by 0x8E3726F:
2013 May 30
2
[LLVMdev] unexpectedly loop hanging
As an update, here is the current piece of code:
Inside a loop iterating over each basic block :
*std::vector<Value*> values;
values.resize(cnt);
//std::vector<Value*> values(sizeof(Value*)*cnt);
//SmallVector<Value*,cnt> values;
if(is)
{
LLVMContext& C = is->getContext();
errs()<<"\ni: \n";
for(i=0;i<cnt;i++){
2013 May 30
2
[LLVMdev] unexpectedly loop hanging
...occurred and the line number at which the
> bad
> write occurred.
>
> Ciao, Duncan.
>
>
--
Best regards,
Alexandru Ionut Diaconescu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130530/fa7e8ca4/attachment.html>