search for: storage_size

Displaying 4 results from an estimated 4 matches for "storage_size".

2015 Nov 02
4
Representing X86 long double in Debug Info
...e combination, how do we describe this in IR, because right now, even though the size is in bits, will always emit `DW_AT_byte_size $(size>>3)` 3) How would clang describe this in it's TargetInfo Just to throw my opinion out there: 1) Use the DW_AT_bit_size/DW_AT_byte_size 2) Add a new `storage_size` attribute to DIBaseType that is generally equal to size, except in cases like this, where we should have `storage_size = 128, size = 80` 3) Have clang set those based on `getLongDoubeSize` (for storage size) and `getLongDoubleFormat` as Reid suggested. This did seem very hacky too me at first as w...
2015 Nov 03
2
Representing X86 long double in Debug Info
...ays emit `DW_AT_byte_size $(size>>3)` >> >> 3) How would clang describe this in it's TargetInfo >> >> >> >> Just to throw my opinion out there: >> >> >> >> 1) Use the DW_AT_bit_size/DW_AT_byte_size >> >> 2) Add a new `storage_size` attribute to DIBaseType that is generally >> equal to size, except in cases like this, where we should have >> `storage_size = 128, size = 80` >> >> >> >> Maybe the other way around (so we don't change the semantics of an >> existing field & have t...
2015 Nov 02
2
Representing X86 long double in Debug Info
On Mon, Nov 2, 2015 at 8:38 AM, Adrian Prantl via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Looking at the code in clang CGDebugInfo just passes through the width of > the type as it is described by the TypeInfo, which in turn is defined by > the Target. At the moment I do not understand why an x86_fp80 is reported > to be 128 bits wide. (Since it’s a type natively
2009 Jul 31
2
RFC: This patch is not being submitted for ACK...
...just looking for some feedback on the direction I'm going. The code won't get all the way to the define stage since I'm in the middle of retrofitting it to use virtinst instead of a home spun node definition.