aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ArchiveWriter.cpp
diff options
context:
space:
mode:
authorSilviu Baranga <silviu.baranga@arm.com>2015-07-09 15:18:25 +0000
committerSilviu Baranga <silviu.baranga@arm.com>2015-07-09 15:18:25 +0000
commitce3877fc8c9b1a439be39e8807ca97aedf0651eb (patch)
treef060f342e8f6e001f0bbacb1b83552f5552d0512 /llvm/lib/Object/ArchiveWriter.cpp
parentb870e9ca935fa7d2c8b405ee6a6e15eee47405fd (diff)
downloadllvm-ce3877fc8c9b1a439be39e8807ca97aedf0651eb.zip
llvm-ce3877fc8c9b1a439be39e8807ca97aedf0651eb.tar.gz
llvm-ce3877fc8c9b1a439be39e8807ca97aedf0651eb.tar.bz2
Don't rely on the DepCands iteration order when constructing checking pointer groups
Summary: The checking pointer group construction algorithm relied on the iteration on DepCands. We would need the same leaders across runs and the same iteration order over the underlying std::set for determinism. This changes the algorithm to process the pointers in the order in which they were added to the runtime check, which is deterministic. We need to update the tests, since the order in which pointers appear has changed. No new tests were added, since it is impossible to test for non-determinism. Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11064 llvm-svn: 241809
Diffstat (limited to 'llvm/lib/Object/ArchiveWriter.cpp')
0 files changed, 0 insertions, 0 deletions