Displaying 2 results from an estimated 2 matches for "recordvarinputvalues".
2014 Sep 01
2
[LLVMdev] Instrumenting Various Types Using Single Instrumentation Function
Hi All,
My instrumentation code needs to insert calls to transmit Value list. Each
element in this list could be of different type. The list is sent to
instrumenting function say void recordVarInputValues(int num, ...) . So, I
have created a Union type in Tracing.cpp, which I link with my benchmark
module at compile time. These steps are similar to giri instrumentation
https://github.com/liuml07/giri
union NumericType
{
int iValue;
long lValue;
double dValue;
.....
2014 Aug 31
2
[LLVMdev] Inserting Calls to var args Functions
...Type,
Int32Type,
NULL));
and insert at desired instPoint using:
CallInst::Create(RecordInt32, args, "", instPoint);
What should be the similar instructions for recoedVarInsputValues below:
void recordVarInputValues(int num, ...){ CODE }
I am not able to figure out what will be the argument to
getOrInsertFunction for "...".
Thanks!
Manish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140831/51e5780b/attachm...