summaryrefslogtreecommitdiff
path: root/tools/bugpoint/ToolRunner.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-27 20:35:36 +0000
committerChris Lattner <sabre@nondot.org>2006-06-27 20:35:36 +0000
commit130e2a361147a31ae631d3648afdd95a5c0d40f2 (patch)
tree3d835f83006339a593d7127dbeae47cd8e3bf6c8 /tools/bugpoint/ToolRunner.h
parent4df24f2caf3a6ba253f9e960ace777fe7873972b (diff)
downloadllvm-130e2a361147a31ae631d3648afdd95a5c0d40f2.tar.gz
llvm-130e2a361147a31ae631d3648afdd95a5c0d40f2.tar.bz2
llvm-130e2a361147a31ae631d3648afdd95a5c0d40f2.tar.xz
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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/bugpoint/ToolRunner.h b/tools/bugpoint/ToolRunner.h
index 9d2903cc64..62bf6d2c84 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);
};