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

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 9 01:07:48 PST 2026


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

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

This `if` means that if you end up somehow with a non-ELF AVR object, you won't get any AVR feature set specified. I'm not familiar with AVR at all, but should we add some sort of safety net here, e.g. specifying avr0 in these cases? Alternatively, I'd be okay if you wanted to error out in that case or emit a warning of some kind?

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


More information about the llvm-commits mailing list