<div dir="ltr"><div>Hi Fellows,</div><div><br></div><div> I've started to study the parts of the poolalloc code related to
runtime pool tracking. AFAIU, Poolalloc uses extra variables/tags for each pointer to encode which pool the pointer was allocated from. Could you point me to which parts of the poolalloc code implement that functionality (i.e., related to tracking pools at runtime)?</div>
<div><br></div><div> Also, of all the examples that I've tried, none of them actually shows
the pools being allocated. E.g., I tried a few sample programs (e.g. figure 1
of the pldi'2005 paper, and a DFS graph traversal using adjacency list etc) ...
but none of them demonstrates that any pool actually gets allocated for the program. The
message I got is always something like:<br></div>
<div><br></div><div><font face="times new roman, serif"> Pool allocating 0 global nodes!</font></div><div><font face="times new roman, serif"> [main] 1 nodes pool allocatable</font></div>
<div><font face="times new roman, serif"><br></font></div><div><font face="times new roman, serif"> </font><font face="arial, helvetica, sans-serif">The
command I am using is `opt -S -load ./LLVMDataStructure.so -load
./poolalloc.so -paheur-AllHeapNodes -poolalloc < test.ll >
test-pa.ll`. </font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"> I wonder if anyone could post an example program that has been verified to get pool-allocated under their environment ... or the options to `opt` are not sufficient enough for the task. Thanks so very much in advance.</font></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Best Regards,</font></div><div><font face="arial, helvetica, sans-serif">Paul</font></div></div>