diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-02 14:36:23 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-02 14:36:23 +0000 |
commit | 0e95b3aba9b2039ae3af617e681aacca2ff81f79 (patch) | |
tree | 4e646da3d82ad3e5c3eed95dd76687befca04b7a /include | |
parent | 1a1d7c4f4c68d64ae5d96ba45270cfcf46421ca0 (diff) | |
download | external_llvm-0e95b3aba9b2039ae3af617e681aacca2ff81f79.zip external_llvm-0e95b3aba9b2039ae3af617e681aacca2ff81f79.tar.gz external_llvm-0e95b3aba9b2039ae3af617e681aacca2ff81f79.tar.bz2 |
Fix option parsing in the gold plugin.
This was broken when options were moved up in r191680. No test because this is
specific LLVMgold.so/libLTO.so.
Patch by Tom Roeder!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/LTO/LTOCodeGenerator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/LTO/LTOCodeGenerator.h b/include/llvm/LTO/LTOCodeGenerator.h index 08e6374..97a5066 100644 --- a/include/llvm/LTO/LTOCodeGenerator.h +++ b/include/llvm/LTO/LTOCodeGenerator.h @@ -79,6 +79,11 @@ struct LTOCodeGenerator { // and LTOCodeGenerator::writeMergedModules(). // void setCodeGenDebugOptions(const char *opts); + + // Parse the options set in setCodeGenDebugOptions. Like + // setCodeGenDebugOptions, this must be called before + // LTOCodeGenerator::compilexxx() and LTOCodeGenerator::writeMergedModules() + void parseCodeGenDebugOptions(); // Write the merged module to the file specified by the given path. // Return true on success. |