<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:12px"><div id="yui_3_16_0_1_1451457671004_8068"><span id="yui_3_16_0_1_1451457671004_8444">The cause seems to have been an allocation of array of pointers using new:</span></div><div id="yui_3_16_0_1_1451457671004_8435"><br><span></span></div><div id="yui_3_16_0_1_1451457671004_8445" dir="ltr"><span id="yui_3_16_0_1_1451457671004_8453">VersionedValue **argumentValuesList = new VersionedValue *[numArgs];</span></div><div id="yui_3_16_0_1_1451457671004_8474" dir="ltr"><br><span id="yui_3_16_0_1_1451457671004_8453"></span></div><div id="yui_3_16_0_1_1451457671004_8454" dir="ltr"><span id="yui_3_16_0_1_1451457671004_8453">The problem disappeared after I replaced the array of pointers with std::vector of pointers.</span></div> <div id="yui_3_16_0_1_1451457671004_8394" class="qtdSeparateBR"><div id="yui_3_16_0_1_1451457671004_8497"><br></div><div id="yui_3_16_0_1_1451457671004_8517">Best,</div><div id="yui_3_16_0_1_1451457671004_8518">Andrew<br></div><br></div><div style="display: block;" id="yui_3_16_0_1_1451457671004_8391" class="yahoo_quoted"> <div id="yui_3_16_0_1_1451457671004_8390" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 12px;"> <div id="yui_3_16_0_1_1451457671004_8389" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div id="yui_3_16_0_1_1451457671004_8392" dir="ltr"><font id="yui_3_16_0_1_1451457671004_8393" face="Arial" size="2"> On Wednesday, 30 December 2015, 12:47, Andrew Santosa via llvm-dev <llvm-dev@lists.llvm.org> wrote:<br></font></div> <br><br> <div id="yui_3_16_0_1_1451457671004_8388" class="y_msg_container"><div id="yiv0159990806"><div id="yui_3_16_0_1_1451457671004_8387"><div id="yui_3_16_0_1_1451457671004_8386" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:12px;"><div id="yiv0159990806yui_3_16_0_1_1451450037631_11545">Dear All,</div><div id="yiv0159990806yui_3_16_0_1_1451450037631_11592"><br></div><div dir="ltr" id="yiv0159990806yui_3_16_0_1_1451450037631_11593">I am currently modifying KLEE for my research, which calls llvm::sys::Process::GetMallocUsage() to</div><div id="yiv0159990806yui_3_16_0_1_1451450037631_11671" dir="ltr">display some statistics before terminating. However, today I discovered that the call to this function</div><div id="yiv0159990806yui_3_16_0_1_1451450037631_11672" dir="ltr">no longer returns. I am using LLVM 3.4.2. Would anyone has any idea on what I should be looking into?<br></div><div id="yiv0159990806yui_3_16_0_1_1451450037631_11673" dir="ltr"><br></div><div id="yiv0159990806yui_3_16_0_1_1451450037631_11674" dir="ltr">Thank you in advance.</div><div id="yiv0159990806yui_3_16_0_1_1451450037631_11676" dir="ltr"><br></div><div dir="ltr">Best,</div><div id="yiv0159990806yui_3_16_0_1_1451450037631_11691" dir="ltr">Andrew</div><div id="yiv0159990806yui_3_16_0_1_1451450037631_11692" dir="ltr"><br></div></div></div></div><br>_______________________________________________<br>LLVM Developers mailing list<br><a ymailto="mailto:llvm-dev@lists.llvm.org" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br><br><br></div> </div> </div> </div></div></body></html>