summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-10-02 14:36:23 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-10-02 14:36:23 +0000
commit0e95b3aba9b2039ae3af617e681aacca2ff81f79 (patch)
tree4e646da3d82ad3e5c3eed95dd76687befca04b7a /include
parent1a1d7c4f4c68d64ae5d96ba45270cfcf46421ca0 (diff)
downloadllvm-0e95b3aba9b2039ae3af617e681aacca2ff81f79.tar.gz
llvm-0e95b3aba9b2039ae3af617e681aacca2ff81f79.tar.bz2
llvm-0e95b3aba9b2039ae3af617e681aacca2ff81f79.tar.xz
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/LTO/LTOCodeGenerator.h b/include/llvm/LTO/LTOCodeGenerator.h
index 08e6374824..97a5066339 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.