diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-07-26 00:07:51 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-07-26 00:07:51 +0000 |
commit | 235457ca7f56448d7492c37aad267d84ed16a942 (patch) | |
tree | 1add40cda775a3da784abe694fcb9a4a2f124ddf /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5aaf677a3738c64f6c120cd06436a930bb674ff5 (diff) | |
download | llvm-235457ca7f56448d7492c37aad267d84ed16a942.zip llvm-235457ca7f56448d7492c37aad267d84ed16a942.tar.gz llvm-235457ca7f56448d7492c37aad267d84ed16a942.tar.bz2 |
Clone and restore the module being reduced in
ReduceMiscompilingFunctions::TestFuncs. This makes the test functional
(i.e., no side effects).
Before we would end up using dead functions if a pass decided to remove them
(inline for example) and we would also keep broken functions and conclude that
that a single function was enough to reproduce the bug.
llvm-svn: 109387
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions