aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objcopy/ELF/Object.cpp
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2021-07-22 11:17:53 +0200
committerMark de Wever <koraq@xs4all.nl>2021-07-26 16:41:57 +0200
commit1139fd4270c7462a4bce8e1e91e6be174dcae88f (patch)
tree7a66d962e6918da20616a3c335cabd560b230584 /llvm/tools/llvm-objcopy/ELF/Object.cpp
parent33146857e9840a92840d48bbc3483e34ea545fc7 (diff)
downloadllvm-1139fd4270c7462a4bce8e1e91e6be174dcae88f.zip
llvm-1139fd4270c7462a4bce8e1e91e6be174dcae88f.tar.gz
llvm-1139fd4270c7462a4bce8e1e91e6be174dcae88f.tar.bz2
[libc++][ci] Detect not committed generated files.
The Generated output CI job only tests for modified files. This job should also fail the generated output contains new files. It would be possible to test modified and untracked files in one execution of `git ls-files`. However the diff is stored as an artifact so the execution of `git diff` would still be required. Discussion: Would it be better to do `git ls-files -om` and remove the excution of `! grep -q '^--- a' ${BUILD_DIR}/generated_output.patch || false` ? (Obviously then the name `generated_output.untracked` should change to something like `generated_output.status`) Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D106534
Diffstat (limited to 'llvm/tools/llvm-objcopy/ELF/Object.cpp')
0 files changed, 0 insertions, 0 deletions