diff options
author | Hubert Tong <hubert.reinterpretcast@gmail.com> | 2019-06-19 15:27:35 +0000 |
---|---|---|
committer | Hubert Tong <hubert.reinterpretcast@gmail.com> | 2019-06-19 15:27:35 +0000 |
commit | 64b60df99f8ad0c00a1d4711e56ce32495765416 (patch) | |
tree | 1a0f2c33036562fcb2a69c666299b576923e9833 /clang/test/CodeGenCXX/debug-info-codeview-display-name.cpp | |
parent | f2ffa7320e25d31d10553a571f07bc232243637a (diff) | |
download | bcm5719-llvm-64b60df99f8ad0c00a1d4711e56ce32495765416.tar.gz bcm5719-llvm-64b60df99f8ad0c00a1d4711e56ce32495765416.zip |
[analyzer] SARIF: Add EOF newline; replace diff_sarif
Summary:
This patch applies a change similar to rC363069, but for SARIF files.
The `%diff_sarif` lit substitution invokes `diff` with a non-portable
`-I` option. The intended effect can be achieved by normalizing the
inputs to `diff` beforehand. Such normalization can be done with
`grep -Ev`, which is also used by other tests.
Additionally, this patch updates the SARIF output to have a newline at
the end of the file. This makes it so that the SARIF file qualifies as a
POSIX text file, which increases the consumability of the generated file
in relation to various tools.
Reviewers: NoQ, sfertile, xingxue, jasonliu, daltenty, aaron.ballman
Reviewed By: aaron.ballman
Subscribers: xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, Charusso, jsji, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D62952
llvm-svn: 363822
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-codeview-display-name.cpp')
0 files changed, 0 insertions, 0 deletions