Open Sameeranjoshi opened 3 years ago
Soft reminder/ping !
I have a good idea on what's going on. The problem is related to the disassembly of the instruction that you see in the dump. I believe the code is specific to ICC. You can try to manually disable processing of the function containing the instruction with -skip-funcs=
option, while I'm working on the fix.
You mention that you've added -fno-inline-functions
option specifically for BOLT. Why is that?
It was to disable function in-lining for optimizations and to be explicit and not have optimizations triggered, we are working on an internal use-case[1] for performance measurement using great framework which BOLT provides at binary and MC layer of LLVM.
[1] https://lists.llvm.org/pipermail/llvm-dev/2020-October/145915.html
Thanks for looking into the issue.
I am trying to run
SPEC CPU 2017
rate runs, usingllvm-bolt
for which I am trying to generate the bolt cfg specifically for the ICC binaries.Here's how I am running it.
I get a few errors as
Below flags were added to the SPEC config specifically for running with bolt.
Debugging the error, seems to come from
BinaryFunction::disassemble()
function, which flags that there could be potential error in disassembling it at MC layer from the error.I also also verified the
rela.txt
in binary.Thanks again for helping for all the related queries.