[llvm] [llvm-objdump][AVR] Detect AVR architecture from ELF flags for disassembling (PR #174731)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 28 01:00:21 PST 2026


================

----------------
jh7370 wrote:

I don't think you need to specify the "default to avr0" in the comment, because it's obvious that's what the code does (and only then in the unusual case of an unknown value).

Also, the second sentence about "report unknown" is largely irrelevant here, because this area of code is about assigning features. The "unknown" reporting is handled in a completely different place and could in theory change.

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


More information about the llvm-commits mailing list