diff options
| author | David Malcolm <dmalcolm@redhat.com> | 2024-08-26 12:24:22 -0400 |
|---|---|---|
| committer | David Malcolm <dmalcolm@redhat.com> | 2024-08-26 12:24:22 -0400 |
| commit | 6a1c359e28442cb86ed40e0d432814b5807e7640 (patch) | |
| tree | 871e442148e26d02e06137f16fe075bf1d524933 /gcc/diagnostic-format-json.cc | |
| parent | aa3b950291119a2b107e3a82bb4ad35a2baa2105 (diff) | |
| download | gcc-6a1c359e28442cb86ed40e0d432814b5807e7640.zip gcc-6a1c359e28442cb86ed40e0d432814b5807e7640.tar.gz gcc-6a1c359e28442cb86ed40e0d432814b5807e7640.tar.bz2 | |
testsuite: add event IDs to multithreaded event plugin test
Add test coverage of "%@" in event messages in a multithreaded
execution path.
gcc/testsuite/ChangeLog:
* gcc.dg/plugin/diagnostic-test-paths-multithreaded-inline-events.c:
Update expected output.
* gcc.dg/plugin/diagnostic-test-paths-multithreaded-sarif.py:
Likewise.
* gcc.dg/plugin/diagnostic-test-paths-multithreaded-separate-events.c:
Likewise.
* gcc.dg/plugin/diagnostic_plugin_test_paths.c
(test_diagnostic_path::add_event_2): Return the id of the added
event.
(test_diagnostic_path::add_event_2_with_event_id): New.
(example_4): Add event IDs to the deadlock messages indicating
where the locks where acquired.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/diagnostic-format-json.cc')
0 files changed, 0 insertions, 0 deletions
