aboutsummaryrefslogtreecommitdiff
path: root/gcc/jit
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2024-07-24 18:07:55 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2024-07-24 18:07:55 -0400
commit8c07814f46ca617ccc5f9fbf2b220dc41ae228c2 (patch)
treece4677a3fcd61792d421543843f7eb948f7cd0fb /gcc/jit
parent148066bd0560b5136692991dacba15c9f21caf96 (diff)
downloadgcc-8c07814f46ca617ccc5f9fbf2b220dc41ae228c2.zip
gcc-8c07814f46ca617ccc5f9fbf2b220dc41ae228c2.tar.gz
gcc-8c07814f46ca617ccc5f9fbf2b220dc41ae228c2.tar.bz2
diagnostics: SARIF output: add "workingDirectory" property (§3.20.19)
gcc/ChangeLog: * diagnostic-format-sarif.cc (sarif_builder::make_artifact_location_object): Make public. (sarif_invocation::sarif_invocation): Add param "builder". Use it to potentially populate the "workingDirectory" property with the result of pwd (§3.20.19). (sarif_builder::sarif_builder): Pass *this to m_invocation_obj's ctor. gcc/testsuite/ChangeLog: * c-c++-common/diagnostic-format-sarif-file-1.c: Verify that we have a "workingDirectory" property. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/jit')
0 files changed, 0 insertions, 0 deletions