[Dwarf-Discuss] modeling different address spaces

Tye, Tony Tony.Tye@amd.com
Fri Jul 31 02:35:01 GMT 2020


A compiler may promote part of a variable to a scratch pad memory address space.

Thanks,
-Tony Tye

-----Original Message-----
From: Michael Eager

On 7/30/20 5:17 PM, Tye, Tony via Dwarf-Discuss wrote:
> For optimized code involving multiple address spaces it is possible to 
> run into cases where the location of a source language variable 
> requires multiple address spaces. For example, a source variable may 
> be optimized and different pieces may be in different places including 
> memory of multiple address spaces, registers, etc.

Can you explain this more?

DWARF handles the situation where part of a variable is in memory and part in a register or in multiple registers.  When would you have a variable which was in multiple address spaces?

--
Michael Eager



More information about the Dwarf-discuss mailing list