This patch load PT_NOTE section in to memory so the debugger can compare the kernel with corresponding coredump. As a result, it can prevent developer falsely load the kernel with unmatched coredump. As the note section is as small as 448 bytes in my build. I think it is a reasonable tradeoff.
I have send a corresponding [[ https://github.com/llvm/llvm-project/pull/80785 | PR ]] in LLDB.