BOLT
BOLT copied to clipboard
Binary Optimization and Layout Tool - A linux command-line utility used for optimizing performance of binaries
Some important things changed in our interaction with LLVM's MCStreamer since our last big rebase (branch rebased). First, JRCXZ out-of-range fixups were intentionally changed to be a an error instead...
Hello, I have been trying to use BOLT with a 64-bit BE ELF but got the error below: `BOLT-ERROR: only 64-bit LE ELF binaries are supported` Here are some header...
I'm trying to use BOLT to optimise a DSO which is loaded by an application. When running `perf2bolt` I get an assertion failure. The binary is built with `emit-relocs`. Any...
Hello, I was trying to reproduce the `optimizing the clang toolchain`[1]. I was using monorepo llvm-projects trunk(clang-13). Note: Not using the rebased branch instead using the main branch. I was...
Hello, I was trying to run bolt on go binary and I am seeing very werid message. I followed following steps: ``` $export CGO_CFLAGS="-fno-reorder-blocks-and-partition -Wl,--emit-relocs" $go build -ldflags="-linkmode external -extldflags...
Running bolt on jemalloc gives me an error: ``` $ sudo apt-get install libjemalloc-dev ``` ``` $ llvm-bolt /usr/lib/x86_64-linux-gnu/libjemalloc.so -instrument -instrumentation-file-append-pid -instrumentation-file=/dev/null -o /dev/null BOLT-INFO: Target architecture: x86_64 BOLT-INFO: BOLT...
In llvm-project, the backend code generating generally has worse tooling than middle-end IR optimization. In the middle-end, we have `opt -passes=` to run a custom pipeline (usually a specific pass)....
BOLT-ERROR:JumpTableBD->getEndAddress() getEndAddress()
While I was trying to run `ninja check-bolt` on the `rebased` branch following tests fail. ``` ******************** ******************** Failed Tests (17): BOLT :: X86/debugTypesBug.s BOLT :: X86/fix-branches-jrcxz.s BOLT :: X86/hot_end_symbol.s...
I'm trying to use BOLT to optimize the performance for ffmpeg. I compiled ffmpeg with ```-Wl,--emic-relocs``` flag, produced the perf data by running: ``` perf record -e cycles:u -j any,u...