aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/CodeMetrics.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2019-02-11 08:48:47 +0000
committerPetr Hosek <phosek@chromium.org>2019-02-11 08:48:47 +0000
commit1405ac457b8b583215cf92d73fbe4479f7c86029 (patch)
tree61e8c6ac8706efd51eac7f763d82fc9279501580 /llvm/lib/Analysis/CodeMetrics.cpp
parent0cc50c6b87c42da96d8e10d56e9b09be71b95a3f (diff)
downloadllvm-1405ac457b8b583215cf92d73fbe4479f7c86029.zip
llvm-1405ac457b8b583215cf92d73fbe4479f7c86029.tar.gz
llvm-1405ac457b8b583215cf92d73fbe4479f7c86029.tar.bz2
[libcxx] Preserve order, avoid duplicates when merging static archives
glob can return files in arbitrary order which breaks deterministic builds. Rather, use `ar t` to list the files in each archive and preserve the original order. Using `ar q` results in duplicate entries in the archive, instead use `ar r` to avoid duplicates. Differential Revision: https://reviews.llvm.org/D58024 llvm-svn: 353671
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions