search for: instrumentation_funct

Displaying 2 results from an estimated 2 matches for "instrumentation_funct".

2011 Feb 25
2
[LLVMdev] Accessing the name of the temporary variable in Instruction
...entation calls, I need to pass the name of the temporary variable used in LLVM bit code. For example, if I see LLVM assembly code as shown below, %13 = icmp eq i64 %11, 0, !dbg !14 After the instrumentation pass, it needs to look like the following %13 = icmp eq i64 %11, 0, !dbg !14 call void @instrumentation_function(i8* getelementptr inbounds ([5 x i8]* @.str6, i64 0, i64 0)) where str6 is a private constant declared as follows @.str6 = private constant [4 x i8] c"%13\00" Note that the private constant that I am passing to the instrumentation_function is the name of the target temporary variable...
2011 Feb 25
0
[LLVMdev] Accessing the name of the temporary variable in Instruction
...of the temporary variable used in LLVM bit code. > > For example, if I see LLVM assembly code as shown below, > > %13 = icmp eq i64 %11, 0, !dbg !14 > > After the instrumentation pass, it needs to look like the following > > %13 = icmp eq i64 %11, 0, !dbg !14 > call void @instrumentation_function(i8* getelementptr inbounds ([5 x i8]* @.str6, i64 0, i64 0)) > > where str6 is a private constant declared as follows > @.str6 = private constant [4 x i8] c"%13\00" > > Note that the private constant that I am passing to the instrumentation_function is the name of the ta...