https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116300
Bug ID: 116300 Summary: RFE: capture macro expansion information in SARIF output Product: gcc Version: unknown Status: UNCONFIRMED Keywords: SARIF Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org Target Milestone: --- Our machine-readable diagnostic output doesn't include information on macro expansions. It would be nice to capture it in the SARIF output - though SARIF doesn't yet specify a way to do so. See https://github.com/oasis-tcs/sarif-spec/issues/650 I'm experimenting with a way to capture these using relatedLocations and location relationships (similar to include chains; see bug 107941)