Skip to content

Conversation

@usama54321
Copy link
Contributor

Add new clang build setting EMIT_COMPILER_SOURCE_METADATA that passes
-fdiagnostic-add-output=sarif:file=. The flag emits a SARIF log during the compilation which contains diagnostic information. The path is currently fixed to <object_file_path>.source-metadata.json

passes
-fdiagnostic-add-output=sarif:file=<path>. The flag emits a SARIF log
during the compilation which contains diagnostic information. The path is currently fixed
to <object_file_path>.source-metadata.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant