diff options
author | Keno Fischer <kfischer@college.harvard.edu> | 2015-12-04 21:56:46 +0000 |
---|---|---|
committer | Keno Fischer <kfischer@college.harvard.edu> | 2015-12-04 21:56:46 +0000 |
commit | 04464cf7313a7c2873f2b8a9011a19f1685b44c1 (patch) | |
tree | 4406bbc91a7f670202224b5fba05e4de166b5ba8 /lldb/packages/Python/lldbsuite/test/lang/cpp | |
parent | f3491496dcbaa236943c6a167399e85335acdc4d (diff) | |
download | bcm5719-llvm-04464cf7313a7c2873f2b8a9011a19f1685b44c1.tar.gz bcm5719-llvm-04464cf7313a7c2873f2b8a9011a19f1685b44c1.zip |
[llc/opt] Add an option to run all passes twice
Summary: Lately, I have submitted a number of patches to fix bugs that
only occurred when using the same pass manager to compile multiple
modules (generally these bugs are failure to reset some persistent
state). Unfortunately I don't think there is currently a way to test
that from the command line. This adds a very simple flag to both llc
and opt, under which the tools will simply re-run their respective
pass pipelines using the same pass manager on (a clone of the same
module). Additionally, we verify that both outputs are bitwise the
same.
Reviewers: yaron.keren
Subscribers: loladiro, yaron.keren, kcc, llvm-commits
Differential Revision: http://reviews.llvm.org/D14965
llvm-svn: 254774
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp')
0 files changed, 0 insertions, 0 deletions