[llvm-branch-commits] [llvm-objdump] -r: support CREL (PR #97382)

Peter Smith via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jul 2 05:50:03 PDT 2024


https://github.com/smithp35 commented:

I agree with jh7370 that it would be good to extract the decoding logic, it seems like each tool needs some way of passing in a way to step through the data, return the decoded data, and a way of storing errors. It is possible that this will end up being more code than just inlining the algorithm, however I'm hoping that this additional code is simpler and less error prone than copying the logic.

May be worth a try to see what it looks like.

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


More information about the llvm-branch-commits mailing list