Fix line mapping information in LLVM JIT profiling with Vtune
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 15 Dec 2014 04:45:43 +0000 (04:45 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 15 Dec 2014 04:45:43 +0000 (04:45 +0000)
commit0bf492d3c1edd73877abb9e84e5832294da2f442
tree7ddb957d035d69295794471fcbf346a0e581d8a6
parent1691fa27d7c8be0bdedda193a70e905ad3d9c4d6
Fix line mapping information in LLVM JIT profiling with Vtune
The line mapping information for dynamic code is reported incorrectly. It causes VTune to map LLVM generated code to source lines incorrectly. This patch fix this issue.
Patch by Denis Pravdin.
Differential Revision: http://reviews.llvm.org/D6603

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224229 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp
tools/llvm-jitlistener/llvm-jitlistener.cpp