search for: recodedint32

Displaying 1 result from an estimated 1 matches for "recodedint32".

2014 Aug 31
2
[LLVMdev] Inserting Calls to var args Functions
Hi All, I am using code similar to giri instrumentation <https://github.com/liuml07/giri> framework to insert my instrumentation code. It works for normal functions for example to insert recordInt32 function below. void recordInt32(int32_t val){ printf("%d, ", val); } I can get recodedInt32 function in my Module using getOrInsert Function. Function* RecordInt32 = cast<Function>(M.getOrInsertFunction("recordInt32", VoidType, Int32Type,...