search for: thetiminginfo

Displaying 4 results from an estimated 4 matches for "thetiminginfo".

2011 Jun 01
2
[LLVMdev] How best to time passes using the API instead of opt? Also, memory leaks when trying to do timing in the API.
...d TimingInfo as being memory leaks for my application when I enable llvm::TimePassesIsEnabled. Is there a way in the API to delete TheTimeInfo myself, even though TheTimeInfo is static? Also, if this is a bug/deficiency, I'm willing to patch this with some guidance, e.g. is putting "delete TheTimingInfo; TheTimeInfo = 0"; in PMTopLevelManager's destructor appropriate? Or is there a much easier solution that I'm just missing? Thanks.
2011 Jun 01
2
[LLVMdev] How best to time passes using the API instead of opt? Also, memory leaks when trying to do timing in the API.
...or my application when I enable >> llvm::TimePassesIsEnabled. Is there a way in the API to delete >> TheTimeInfo myself, even though TheTimeInfo is static? Also, if this >> is a bug/deficiency, I'm willing to patch this with some guidance, >> e.g. is putting "delete TheTimingInfo; TheTimeInfo = 0"; in >> PMTopLevelManager's destructor appropriate? Or is there a much easier >> solution that I'm just missing? >> >> Thanks. >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs....
2011 Jun 01
0
[LLVMdev] How best to time passes using the API instead of opt? Also, memory leaks when trying to do timing in the API.
...g memory leaks for my application when I enable > llvm::TimePassesIsEnabled. Is there a way in the API to delete > TheTimeInfo myself, even though TheTimeInfo is static? Also, if this > is a bug/deficiency, I'm willing to patch this with some guidance, > e.g. is putting "delete TheTimingInfo; TheTimeInfo = 0"; in > PMTopLevelManager's destructor appropriate? Or is there a much easier > solution that I'm just missing? > > Thanks. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm...
2011 Jun 01
0
[LLVMdev] How best to time passes using the API instead of opt? Also, memory leaks when trying to do timing in the API.
...n when I enable >>> llvm::TimePassesIsEnabled. Is there a way in the API to delete >>> TheTimeInfo myself, even though TheTimeInfo is static? Also, if this >>> is a bug/deficiency, I'm willing to patch this with some guidance, >>> e.g. is putting "delete TheTimingInfo; TheTimeInfo = 0"; in >>> PMTopLevelManager's destructor appropriate? Or is there a much easier >>> solution that I'm just missing? >>> >>> Thanks. >>> _______________________________________________ >>> LLVM Developers mailing list...