Displaying 1 result from an estimated 1 matches for "llvm_profile_load_address".
2013 Jan 13
4
[LLVMdev] Dynamic Profiling - Instrumentation basic query
Hi,
I am new to LLVM, and would like to write a dynamic profiler, say which prints out the load address of all the load instructions encountered in a program.
>From what I could pick up, edge-profiler.cpp increments a counter dynamically which is somehow dumped onto llvmprof.out by profile.pl
Could anyone explain me how this works? Can I instrument the code to dump out the load addresses or