[llvm] [BOLT][RISCV] Implement basic instrumentation (PR #71664)
Rafael Auler via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 13 15:15:25 PST 2023
================
@@ -0,0 +1,94 @@
+#ifndef LLVM_TOOLS_LLVM_BOLT_SYS_RISCV64
+#define LLVM_TOOLS_LLVM_BOLT_SYS_RISCV64
+
+#include <dirent.h>
----------------
rafaelauler wrote:
The runtime files should match the system your input binaries were compiled for. Because BOLT is independent of the compiler, historically we never assumed that you actually have the full target toolchain, so the few target constants we depend on are hardcoded. But we can probably change to include the kernel header files directly and then make sure our cmake rules correctly configure the compiler used to build this runtime lib.
https://github.com/llvm/llvm-project/pull/71664
More information about the llvm-commits
mailing list