summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Parallel.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-01-18 01:04:59 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-01-18 01:04:59 +0000
commite912cc512d61a7934f345b0952a2dbdf5e11e1e1 (patch)
tree1492c55ca4126fc31409a4bd86b2c1b1a0ba0672 /llvm/lib/Support/Parallel.cpp
parent342a7ac8d6419aec9a79ea4ac3c93bbb6beeba26 (diff)
downloadbcm5719-llvm-e912cc512d61a7934f345b0952a2dbdf5e11e1e1.tar.gz
bcm5719-llvm-e912cc512d61a7934f345b0952a2dbdf5e11e1e1.zip
[Reproducers] Refactor reproducer info
In the original reproducer design, I expected providers to be more dynamic than they turned out. For example, we don't have any instances where one provider has multiple files. Additionally, I expected there to be less locality between capture and replay, with the provider being defined in one place and the replay code to live in another. Both contributed to the design of the provider info. This patch refactors the reproducer info to be something static. This means less magic strings and better type checking. The new design still allows for the capture and replay code to live in different places as long as they both have access to the new statically defined info class. I didn't completely get rid of the index, because it is useful for (1) sanity checking and (2) knowing what files are used by the reproducer. Differential revision: https://reviews.llvm.org/D56814 llvm-svn: 351501
Diffstat (limited to 'llvm/lib/Support/Parallel.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud