For now just insert the callback for stores, similar to how MSan tracks
origins. In the future we may want to add callbacks for loads, memcpy,
function calls, CMPs, etc.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Maybe? For the immediate use case (i.e. getting a stack trace) it's probably not needed, but maybe the address would be useful for something else?
I noticed MSan origins reports don't give the store address, so I figured it wasn't too important.
Comment Actions
If MSan remembered store addresses, it would very fast run out of origin ids.
Since this is an experimental API without a frontend flag, I'd say do what is useful right now, and add more info later if it becomes necessary.
LGTM