Displaying 3 results from an estimated 3 matches for "04f168cf".
2011 Sep 28
0
[LLVMdev] Instrumenting C/C++ programs
...LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110927/04f168cf/attachment.html>
-------------- next part --------------
*study LLVM and add a memory access profiling pass into it
**how to write a pass
http://llvm.org/docs/WritingAnLLVMPass.html
**add a memory profiling pass to llvm
1. copy lib/Transform/Instrumentation/EdgeProfiling.cpp to
lib/Transform/I...
2011 Sep 23
3
[LLVMdev] Instrumenting C/C++ programs
I just read that LLVM project could be used to do static analysis on C/C++
codes using the analyzer Clang which the front end of LLVM. I wanted to know
if it is possible to extract all the accesses to memory(variables, local as
well as global) in the source code using LLVM.
Is there any inbuilt library present in LLVM which I could use to extract
this information. If not please suggest me how to
2011 Sep 27
1
[LLVMdev] Instrumenting C/C++ programs
Hey John,
Thank you for the detailed reply.
I tried to figure out myself which IR should I use for my purpose ( Clang's
Abstract Syntax Tree (AST) or LLVM's SSA Intermediate Representation (IR).
), but couldn't really figure out which one to use.
Here is what I m trying to do.
Given any C/C++ program (like the one given below), I am trying to insert
calls to some function, before and