search for: getoutfile

Displaying 3 results from an estimated 3 matches for "getoutfile".

2010 Dec 08
0
[LLVMdev] Reviewer for our Path Profiling Implementation
...m not sure why you made it a global type. Was it for use by the profile loader? If so, I think it would need to be in ProfileInfoTypes.h under extern "C". +++ runtime/libprofile/CommonProfiling.c +static int OutFile = -1; I'm not sure why OutFile cannot remain a local static within getOutFile. + int res; ... + res = write(outFile, &PTy, sizeof( Profile)); Some builds may warn of the unused result. If you're not checking the result, you probably shouldn't retrieve it. +++ runtime/libprofile/PathProfiling.c + inline uint32_t* getPathCounter(uint32_t functionNumber, uint3...
2010 Dec 08
1
[LLVMdev] Reviewer for our Path Profiling Implementation
...it for use by the > profile loader? If so, I think it would need to be in > ProfileInfoTypes.h under extern "C". > > +++ runtime/libprofile/CommonProfiling.c > > +static int OutFile = -1; > > I'm not sure why OutFile cannot remain a local static within > getOutFile. > > + int res; > ... > + res = write(outFile, &PTy, sizeof( Profile)); > > Some builds may warn of the unused result. If you're not checking the > result, you probably shouldn't retrieve it. > > +++ runtime/libprofile/PathProfiling.c > > + inline...
2010 Dec 03
4
[LLVMdev] Reviewer for our Path Profiling Implementation
I am a student at the University of Alberta under the supervision of José Nelson Amaral, and I have been working on implementing path profiling into LLVM. I have completed my project and would like to submit it. We are looking for a reviewer for the path profiling implementation. We have sent previous requests to the llvmdev list but have so far been unsuccessful. Please see the attached