[llvm] [BOLT] Add writing support for Linux kernel ORC (PR #80950)
Amir Ayupov via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 16 19:02:29 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";
----------------
aaupov wrote:
Sorry about late comment but we should be using `BC.outs()` after https://github.com/llvm/llvm-project/pull/81524
https://github.com/llvm/llvm-project/pull/80950
More information about the llvm-commits
mailing list