The ArchSpec::m_flags will be set based on ELF flag ABI.
Should we add a function like:
bool ArchSpec::IsMIPS() const;
Every patch I see for MIPS has these same four machine checks. If we add another we will need to update all places that do this..
I agree with you. We need to add above function so it will be easy for future updates. I will update the diff as per suggestion
Added IsMIPS() method.
Commited in revision 269181