[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:08 PST 2024


================
@@ -670,6 +698,8 @@ class BinaryContext {
   /// Indicates if the binary is Linux kernel.
   bool IsLinuxKernel{false};
 
+  LKVersion LinuxKernelVersion;
----------------
FLZ101 wrote:

Done.

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


More information about the llvm-commits mailing list