diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-09-15 22:47:38 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-09-15 22:47:38 +0000 |
| commit | 7de73e56a40f5c2746d94ccfa189736574c2cd8e (patch) | |
| tree | 74918790e106144ae070c888580c593873533d45 /llvm/include | |
| parent | 236787838caadf5ecc68fb52ca718fa559dff261 (diff) | |
| download | bcm5719-llvm-7de73e56a40f5c2746d94ccfa189736574c2cd8e.tar.gz bcm5719-llvm-7de73e56a40f5c2746d94ccfa189736574c2cd8e.zip | |
Revert "LTO: Disable extra verify runs in release builds"
This temporarily reverts commit r247729, as it caused lld build
failures. I'll recommit once I have an lld patch ready-to-go.
llvm-svn: 247730
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/LTO/LTOCodeGenerator.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/include/llvm/LTO/LTOCodeGenerator.h b/llvm/include/llvm/LTO/LTOCodeGenerator.h index f69dfb1e7f6..cf31bda6dc1 100644 --- a/llvm/include/llvm/LTO/LTOCodeGenerator.h +++ b/llvm/include/llvm/LTO/LTOCodeGenerator.h @@ -110,9 +110,9 @@ struct LTOCodeGenerator { /// \note It is up to the linker to remove the intermediate object file. Do /// not try to remove the object file in LTOCodeGenerator's destructor as we /// don't who (LTOCodeGenerator or the obj file) will last longer. - bool compile_to_file(const char **Name, bool DisableVerify, - bool DisableInline, bool DisableGVNLoadPRE, - bool DisableVectorization, std::string &ErrMsg); + bool compile_to_file(const char **Name, bool DisableInline, + bool DisableGVNLoadPRE, bool DisableVectorization, + std::string &ErrMsg); /// As with compile_to_file(), this function compiles the merged module into /// single object file. Instead of returning the object-file-path to the @@ -120,13 +120,13 @@ struct LTOCodeGenerator { /// to the caller. This function should delete intermediate object file once /// its content is brought to memory. Return NULL if the compilation was not /// successful. - std::unique_ptr<MemoryBuffer> compile(bool DisableVerify, bool DisableInline, + std::unique_ptr<MemoryBuffer> compile(bool DisableInline, bool DisableGVNLoadPRE, bool DisableVectorization, std::string &errMsg); /// Optimizes the merged module. Returns true on success. - bool optimize(bool DisableVerify, bool DisableInline, bool DisableGVNLoadPRE, + bool optimize(bool DisableInline, bool DisableGVNLoadPRE, bool DisableVectorization, std::string &ErrMsg); /// Compiles the merged optimized module into a single object file. It brings |

