armebv7 and thumb/thumbeb aren't being handled; fix it so they are; add tests for them
Details
Details
- Reviewers
rengolin t.p.northover - Commits
- rG3205f521985d: handle armeb/thumb/thumbeb consistently in gnutools::Assemble::ConstructJob
rC232940: handle armeb/thumb/thumbeb consistently in gnutools::Assemble::ConstructJob
rL232940: handle armeb/thumb/thumbeb consistently in gnutools::Assemble::ConstructJob
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Can you convert it to switch over the arch instead? That's much more concise and readable for cases like this.
Comment Actions
Thanks. Now that I've found it, it looks like switching on Triple::getSubArch() would be better; I'll try that and update this patch.
Comment Actions
Is this what you had in mind?
Or did you mean to change all of gnutools::Assemble::ConstructJob() to be a switch(getToolChain().getArch())? I'm happy to do that, too, as a follow up.
Comment Actions
Ok, thanks. I'd rather do the whole function as a separate, no-functional-change commit. Are you happy with this as-is?
Comment Actions
I think it is the correct approach, but Tim might be a better person to judge the subarch part.