llvm-mirror/llvm — pull request #3 by dstogov (2013-09-26 12:17:09+00:00)
Title: Added oprofile support for MCJIT

This is a simple patch that adds oprofile and operf (a new user land oprofile tool) support for MCJIT.
The code mainly was copy-pasted from IntelJITEventListener.cpp and then adopted a bit.
Unfortunately, I can't test line number support, so I omitted this part.