[llvm] [BOLT] Detect Linux kernel version if the binary is a Linux kernel (PR #119088)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 10:00:17 PST 2024


================
@@ -1030,6 +1031,25 @@ void RewriteInstance::discoverFileObjects() {
       continue;
     }
 
+    if (BC->IsLinuxKernel && SymName == "linux_banner") {
----------------
FLZ101 wrote:

Done.

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


More information about the llvm-commits mailing list