llvm-capstone/bolt/lib
Maksim Panchenko ccb99dd126 [BOLT] Fix profile and tests for nop-removal pass
Summary:
Since nops are now removed in a separate pass, the profile is consumed
on a CFG with nops. If previously a profile was generated without nops,
the offsets in the profile could be different if branches included nops
either as a source or a destination.

This diff adjust offsets to make the profile reading backwards
compatible.

(cherry picked from FBD33231254)
2021-12-18 17:05:00 -08:00
..
Core [BOLT] Fix profile and tests for nop-removal pass 2021-12-18 17:05:00 -08:00
Passes [BOLT] Move disassemble optimizations to optimization passes 2021-12-18 17:03:35 -08:00
Profile [BOLT] Fix profile and tests for nop-removal pass 2021-12-18 17:05:00 -08:00
Rewrite [BOLT] Fix profile and tests for nop-removal pass 2021-12-18 17:05:00 -08:00
RuntimeLibs [BOLT][NFC] Reformat with clang-format 2021-12-14 16:52:51 -08:00
Target Fix frameopt crash when processing POPF 2021-12-15 13:29:46 -08:00
Utils [BOLT] Fix Windows build 2021-11-11 18:14:53 -08:00
CMakeLists.txt Rebase: [NFC] Refactor sources to be buildable in shared mode 2021-10-08 11:47:10 -07:00