diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-27 20:35:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-27 20:35:36 +0000 |
commit | 130e2a361147a31ae631d3648afdd95a5c0d40f2 (patch) | |
tree | 3d835f83006339a593d7127dbeae47cd8e3bf6c8 /tools/bugpoint/ToolRunner.h | |
parent | 4df24f2caf3a6ba253f9e960ace777fe7873972b (diff) | |
download | external_llvm-130e2a361147a31ae631d3648afdd95a5c0d40f2.zip external_llvm-130e2a361147a31ae631d3648afdd95a5c0d40f2.tar.gz external_llvm-130e2a361147a31ae631d3648afdd95a5c0d40f2.tar.bz2 |
Pass -Xlinker flags to gcc when it builds the shared object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/ToolRunner.h')
-rw-r--r-- | tools/bugpoint/ToolRunner.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/bugpoint/ToolRunner.h b/tools/bugpoint/ToolRunner.h index 9d2903c..62bf6d2 100644 --- a/tools/bugpoint/ToolRunner.h +++ b/tools/bugpoint/ToolRunner.h @@ -48,7 +48,7 @@ class GCC { public: enum FileType { AsmFile, CFile }; - static GCC* create(const std::string &ProgramPath, std::string &Message); + static GCC *create(const std::string &ProgramPath, std::string &Message); /// ExecuteProgram - Execute the program specified by "ProgramFile" (which is /// either a .s file, or a .c file, specified by FileType), with the specified @@ -70,7 +70,8 @@ public: /// file or a .s file) into a shared object. /// int MakeSharedObject(const std::string &InputFile, FileType fileType, - std::string &OutputFile); + std::string &OutputFile, + const std::vector<std::string> &ArgsForGCC); }; |