History log of /llvm-project/bolt/runtime/instr.cpp (Results 51 – 52 of 52)
Revision Date Author Comments
# 821480d2 02-Aug-2019 Rafael Auler <rafaelauler@fb.com>

[BOLT] Encode instrumentation tables in file

Summary:
Avoid directly allocating string and description tables in
binary's static data region, since they are not needed during runtime
except when wri

[BOLT] Encode instrumentation tables in file

Summary:
Avoid directly allocating string and description tables in
binary's static data region, since they are not needed during runtime
except when writing the profile at exit. Change the runtime library to
open the tables on disk and read only when necessary.

(cherry picked from FBD16626030)

show more ...


# 62aa74f8 24-Jul-2019 Rafael Auler <rafaelauler@fb.com>

[BOLT] Support instrumentation via runtime library

Summary:
To allow the development of future instrumentation work, this
patch adds support in BOLT for linking arbitrary libraries into the
binary p

[BOLT] Support instrumentation via runtime library

Summary:
To allow the development of future instrumentation work, this
patch adds support in BOLT for linking arbitrary libraries into the
binary processed by BOLT. We use orc relocation handling mechanism for
that. With this support, this patch also moves code programatically
generated in X86 assembly language by X86MCPlusBuilder to C code written
in a new library called bolt_rt. Change CMake to support this library as
an external project in the same way as clang does with compiler_rt. This
library is installed in the lib/ folder relative to BOLT root
installation and by default instrumentation will look for the library
at that location to finish processing the binary with instrumentation.

(cherry picked from FBD16572013)

show more ...


123