[llvm] [BOLT] Support instrumentation hook via DT_FINI_ARRAY (PR #67348)

Job Noorman via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 09:13:58 PDT 2023


mtvec wrote:

> But in BOLT we are trying to avoid runtime tests where it is possible, for example because there are no aarch64 tests machines right now.

With "runtime tests" you mean tests where a binary is executed? Or tests that trigger runtime instrumentation?

As far as I can tell, the only way to trigger this new functionality is to instrument the binary. And the only way to instrument an AArch64 binary, is to compile and run BOLT on an AArch64 machine (the runtime library cannot currently be cross-compiled). Or am I missing something?

https://github.com/llvm/llvm-project/pull/67348


More information about the llvm-commits mailing list