commit | df5a7daff9c7664bff8b713e8ed5155319bc6041 | [log] [tgz] |
---|---|---|
author | Jeffrey Yasskin <jyasskin@google.com> | Thu Jun 25 02:04:04 2009 +0000 |
committer | Jeffrey Yasskin <jyasskin@google.com> | Thu Jun 25 02:04:04 2009 +0000 |
tree | d0a7b2a265916b1e0e36ef6423b56749d3429c9a | |
parent | b6c29d55123f6b8c3f9e4d56e4be653a1fd2a472 [diff] |
Add a JITEventListener interface that gets called back when a new function is emitted or the machine code for a function is freed. Chris mentioned that we may also want a notification when a stub is emitted, but that'll be a future change. I intend to use this to tell oprofile where functions are emitted and what lines correspond to what addresses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74157 91177308-0d34-0410-b5e6-96231b3b80d8