LLVM ARM6 release build optimizer bug... #768

merged 1 commit into from Feb 3, 2012


None yet
3 participants

troppoli commented Feb 3, 2012

We have bumped into an issue that apparently a lot of other people have.... some three20 users, some not. Basically LLVM+ARM6 and thumb optimizations don't mix. It would seem that the best thing to do is to turn off thumb support for the time being to avoid the trouble. In our case, text was all over the place due to
TTTextStyle's (CGRect)rectForText:(NSString_)text forSize:(CGSize)size withFont:(UIFont_)font returning bogus values.





aporat commented Feb 3, 2012

I just found out this nasty bug happens on my a few of my published apps as well, as I heavily use TTButton + TTStyleSheets. I guess this bug was introduced since the recent move to LLVM in #742.


diederich commented Feb 3, 2012

Thanks of looking into this and finding the right place to put it in ;)
I have this enabled in my apps which still need to support armv6, too.

diederich added a commit that referenced this pull request Feb 3, 2012

Merge pull request #768 from troppoli/development
LLVM ARM6 release build optimizer bug...

@diederich diederich merged commit 42bcda2 into facebookarchive:development Feb 3, 2012


troppoli commented Feb 3, 2012

I pulled to the head of dev and verified it yesterday before applying the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment