[PATCH] Make global aliases have symbol size equal to their type
Rafael EspĂndola
rafael.espindola at gmail.com
Thu Jul 2 04:57:03 PDT 2015
I see,
Given
.size b, 8
b:
.quad 4
a = b + 4
The assembler says that "a" has size 8 :-(
I already think that the assembler is trying to do too much in here,
so I agree that printing a .size is the way to go.
> const DataLayout *DL = TM.getDataLayout();
Please get the DataLayout from the Module.
David, would this be in your way for removing types from pointers? If not, LGTM.
Thanks,
Rafael
On 30 June 2015 at 12:25, Javed Absar <javed.absar at arm.com> wrote:
> REPOSITORY
> rL LLVM
>
> http://reviews.llvm.org/D10837
>
> EMAIL PREFERENCES
> http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
More information about the llvm-commits
mailing list