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


FLZ101 wrote:

Multiple symbols with the same address but different sizes are mapped to the same `BinaryData`, which has a size of the first symbol.

So we usually can not be certain about the size of a `BinaryData` we get from a symbol, since there might be a symbol with the same address but different size registered first. I think it is not good.

Is it by design?

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


More information about the llvm-commits mailing list