Clang currently accepts "thumb" and "thumbeb" as architectures in the triple, but emits ARM code unless -mthumb is also used.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hi Oliver,
I think this is the wrong place to fix it. I've tried that, and I realised that the problem is that the arch in triple gets forgotten by getting the default CPU, then getting the default arch for that CPU, resetting the arch to arm. If you can stop that nonsense, your problem will be fixed.
cheers,
--renato