[PATCH] D155767: [BOLT] Improve Linux ORC reader

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 20 17:34:50 PDT 2023


Amir accepted this revision.
Amir added a comment.
This revision is now accepted and ready to land.

Wow, ORC encoding is this simple.



================
Comment at: bolt/lib/Rewrite/LinuxKernelRewriter.cpp:595
+        // address, we need to propagate ORC state from the previous entry.
+        if (!CurrentState) {
+          auto It =
----------------
My understanding is this is optimized encoding (skipping redundant entries). I don't see that the test covers that – can you add a test for it?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155767/new/

https://reviews.llvm.org/D155767



More information about the llvm-commits mailing list