[llvm] [SHT_LLVM_BB_ADDR_MAP] Remove support for versions 1 and 0 (SHT_LLVM_BB_ADDR_MAP_V0). (PR #146186)
Rahman Lavaee via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 30 12:40:04 PDT 2025
rlavaee wrote:
> This isn't deprecation: it'd outright removal of support. Deprecation is for when it's still available, but discouraged. If you definitely want to drop support, please update the commit description and error message accordingly.
>
Done
> Please also add a release note.
Done
>
> I can't remember if I said this to you or if it was someone else, but in my opinion, it is not worth removing support (deprecation is okay) for dumping the contents of object files (and since it's then required for testing, for using yaml2obj to generate such files). as it's quite easy for object files much older than 2 (3/4/5/+) years old to be floating around. However, if you're confident this is the right thing to do, I'm not going to stand in your way.
The current use-case for SHT_LLVM_BB_ADDR_MAP is profiling and analysis, which requires fresh binaries. So this should be fine.
https://github.com/llvm/llvm-project/pull/146186
More information about the llvm-commits
mailing list