[llvm-dev] aarch64 does not emit DW_AT_Location

kamlesh kumar via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 21 03:54:23 PST 2020


Hi Devs,
debug info emitted by llvm does not contain DW_AT_Location for Formal
parameter
if it is an aggregate like below case
1) aggregate contain more than 4 homogeneous and size more than 128 bits
i.e.
typedef struct{
int a,b,c,d,e;
}mystruct;
void foo(mystruct ms){
}

2) aggregate contain hetrogeneous type and size more than 128 bits.
i.e.
typedef struct{
int a,b;
float c,d,e;
}mystruct;
void foo(mystruct ms){

}

This occur only when aarch64 is used, not with arm and x86.
like to know community thoughts wether this can be considered as bug or it's
an abi restriction.


./kamlesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200121/67ca32d5/attachment.html>


More information about the llvm-dev mailing list