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

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 16:21:04 PST 2024


================
@@ -207,8 +218,6 @@ void LinuxKernelRewriter::insertLKMarker(uint64_t PC, uint64_t SectionOffset,
 }
 
 void LinuxKernelRewriter::processLKSections() {
-  assert(BC.IsLinuxKernel && "Linux kernel binary expected.");
----------------
maksfb wrote:

This function used to be under `RewriteInstance`. Since I moved it some time ago under `LinuxKernelRewriter` it became obsolete. Can put in a separate PR.

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


More information about the llvm-commits mailing list