[LLVMdev] embedding trace functions to generate variable values

Vardhan Varma vardhanvarma at gmail.com
Wed Mar 6 02:39:48 PST 2013


Hi,
  This is my first post on this forum so please use soft batons (-;

  I'm wondering if there is feature already  in LLVM or clang to embed
  variable tracing instructions in the compiled output, so that on execution
  of the program, a dump of various variables values over time is generated.

  It's a little like the old unix program ctrace[1], but using LLVM, instead
  of rewriting C !


[1] http://docs.oracle.com/cd/E24457_01/html/E22003/ctrace.1.html
Thanx in advance,

--Vardhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130306/71334002/attachment.html>


More information about the llvm-dev mailing list