mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
4f8961d587
library to tell it the addresses of JITted functions. For a particular program, this changes the opreport -l output from: samples % image name symbol name 48182 98.9729 anon (tgid:19412 range:0x7f12ccaab000-0x7f12cdaab000) anon (tgid:19412 range:0x7f12ccaab000-0x7f12cdaab000) 11 0.0226 libstdc++.so.6.0.9 /usr/lib/libstdc++.so.6.0.9 to: samples % image name symbol name 24565 60.7308 19814.jo fib_left 15365 37.9861 19814.jo fib_right 22 0.0544 ld-2.7.so do_lookup_x llvm-svn: 75279
14 lines
281 B
CMake
14 lines
281 B
CMake
# TODO: Support other architectures. See Makefile.
|
|
add_definitions(-DENABLE_X86_JIT)
|
|
|
|
add_llvm_library(LLVMJIT
|
|
Intercept.cpp
|
|
JIT.cpp
|
|
JITDwarfEmitter.cpp
|
|
JITEmitter.cpp
|
|
JITMemoryManager.cpp
|
|
MacOSJITEventListener.cpp
|
|
OProfileJITEventListener.cpp
|
|
TargetSelect.cpp
|
|
)
|