[llvm] r199245 - Fix a low hanging use of hasRawTextSupport.

Doug Gilmore Doug.Gilmore at imgtec.com
Tue Jan 14 22:37:02 PST 2014


> From: Rafael EspĂ­ndola [rafael.espindola at gmail.com]
> Sent: Tuesday, January 14, 2014 7:36 PM
> To: Doug Gilmore
> Cc: llvm-commits
> Subject: Re: [llvm] r199245 - Fix a low hanging use of hasRawTextSupport.
> 
> > It appears that everything is getting marked as micromips:
> > $ cat foobar.c
> > void foo() {}
> > void bar() {}
> > $ clang -O3 -target mipsel-linux-gnu -EL -gcc-toolchain /mips/arch/overflow/codesourcery/mips-linux-gnu/pro/release/2011.09-90/Linux  -integrated-as  -fomit-frame-pointer foobar.c -c
> > $ readelf -s foobar.o
> 
> Duh, it is very likely just a uninitialized variable. Fixed in
> r199288. Really sorry about that.
> 
> I also noticed that data would have been marked as micromips. I fixed
> that in 199287.
Thanks, I started another build to check status.
> 
> BTW, what is the relationship of micromips and mips16? Is micromips a
> file property or a function property. I see that mips16 is per
> function. Can a function have both?
Since the mode is stored in the low order bit of the PC address, A hardware
implementation can only implement one or the other.

Thanks again,

Doug
> 
> Cheers,
> Rafael





More information about the llvm-commits mailing list