[llvm] [BOLT] Add writing support for Linux kernel ORC (PR #80950)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 18 17:37:49 PST 2024


================
@@ -556,9 +565,7 @@ Error LinuxKernelRewriter::readORCTables() {
     BC.MIB->addAnnotation(*Inst, "ORC", Entry.ORC);
   }
 
-  // Older kernels could contain unsorted tables in the file as the tables  were
-  // sorted during boot time.
-  llvm::sort(ORCEntries);
+  outs() << "BOLT-INFO: parsed " << NumORCEntries << " ORC entries\n";
----------------
maksfb wrote:

`LinuxKernelRewriter` was still using old streams. #82195 includes the change.

https://github.com/llvm/llvm-project/pull/80950


More information about the llvm-commits mailing list