[llvm] [BOLT][RISCV] Implement basic instrumentation (PR #71664)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 9 09:59:54 PST 2023


================
@@ -0,0 +1,94 @@
+#ifndef LLVM_TOOLS_LLVM_BOLT_SYS_RISCV64
+#define LLVM_TOOLS_LLVM_BOLT_SYS_RISCV64
+
+#include <dirent.h>
----------------
aaupov wrote:

We can't depend on the host definitions – it should be possible to cross-compile an instrumentation runtime, as is the case for the rest of the targets.

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


More information about the llvm-commits mailing list