wanted: who-references and who-sets for clos slots

Bug #488725 reported by Tobias C. Rittweiler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Confirmed
Wishlist
Unassigned

Bug Description

It would be nice to have xref data for the locations where CLOS slots are referenced
and where they're written to. I'm thinking to track the relevant call sites of SLOT-VALUE
and (SETF SLOT-VALUE) here.

Information about where accessor functions are used is currently available via
WHO-CALLS. It may be nice to differentiate between calls to ACCESSOR-FN
as references, and calls to (SETF ACCESSOR-FN) as sets -- and to include those
locations in the output of WHO-REFERENCES and WHO-SETS.

I don't feel strong about the latter, though, as its information is already available.
I'm more interested in the former point because its functionality is currently simply
missing.

Tags: feature xref
Revision history for this message
Nikodemus Siivola (nikodemus) wrote : Re: [Bug 488725] [NEW] wanted: who-references and who-sets for clos slots

 status confirmed
 importance wishlist
 tag feature

While I'm by no means opposed to this, I think getting this right is pretty tricky due to slot-value optimizations. Aspiring PCL hackers are welcome to attack this, because I'm probably not going to.

Changed in sbcl:
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.