Re: [Dwarf-Discuss] Use of Location Description operations in DWARF Expressions?

2020-03-19 Thread Michael Eager via Dwarf-Discuss
On 3/19/20 9:30 AM, David Stenberg via Dwarf-Discuss wrote: Hi! This is something that has popped up in a number of LLVM patch reviews, and is something that we would like to get some help with clarifying. For DWARF[345], may a DWARF Expression (described in section 2.5) contain any of the

[Dwarf-Discuss] Segment selectors for Harvard architectures

2020-03-19 Thread Robinson, Paul via Dwarf-Discuss
This recently came up in the LLVM project. Harvard architectures put code and data into separate address spaces, but those spaces are not explicit; instructions that load/store memory implicitly use the data space, while things like taking a function address or doing indirect branches will

[Dwarf-Discuss] Use of Location Description operations in DWARF Expressions?

2020-03-19 Thread David Stenberg via Dwarf-Discuss
Hi! This is something that has popped up in a number of LLVM patch reviews, and is something that we would like to get some help with clarifying. For DWARF[345], may a DWARF Expression (described in section 2.5) contain any of the operations listed under the Location Descriptions section (2.6)?