mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 21:31:03 +00:00
Provide timeout values to all abstract interpreters
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15159 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
de0213b9f5
commit
62c91fcda5
@ -64,7 +64,7 @@ public:
|
|||||||
const std::string &InputFile,
|
const std::string &InputFile,
|
||||||
const std::string &OutputFile,
|
const std::string &OutputFile,
|
||||||
const std::vector<std::string> &SharedLibs =
|
const std::vector<std::string> &SharedLibs =
|
||||||
std::vector<std::string>());
|
std::vector<std::string>(), unsigned Timeout = 0);
|
||||||
|
|
||||||
/// MakeSharedObject - This compiles the specified file (which is either a .c
|
/// MakeSharedObject - This compiles the specified file (which is either a .c
|
||||||
/// file or a .s file) into a shared object.
|
/// file or a .s file) into a shared object.
|
||||||
@ -110,7 +110,8 @@ struct AbstractInterpreter {
|
|||||||
const std::string &InputFile,
|
const std::string &InputFile,
|
||||||
const std::string &OutputFile,
|
const std::string &OutputFile,
|
||||||
const std::vector<std::string> &SharedLibs =
|
const std::vector<std::string> &SharedLibs =
|
||||||
std::vector<std::string>()) = 0;
|
std::vector<std::string>(),
|
||||||
|
unsigned Timeout = 0) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
//===---------------------------------------------------------------------===//
|
//===---------------------------------------------------------------------===//
|
||||||
@ -139,7 +140,8 @@ public:
|
|||||||
const std::string &InputFile,
|
const std::string &InputFile,
|
||||||
const std::string &OutputFile,
|
const std::string &OutputFile,
|
||||||
const std::vector<std::string> &SharedLibs =
|
const std::vector<std::string> &SharedLibs =
|
||||||
std::vector<std::string>());
|
std::vector<std::string>(),
|
||||||
|
unsigned Timeout = 0);
|
||||||
|
|
||||||
// Sometimes we just want to go half-way and only generate the .c file, not
|
// Sometimes we just want to go half-way and only generate the .c file, not
|
||||||
// necessarily compile it with GCC and run the program. This throws an
|
// necessarily compile it with GCC and run the program. This throws an
|
||||||
@ -175,7 +177,8 @@ public:
|
|||||||
const std::string &InputFile,
|
const std::string &InputFile,
|
||||||
const std::string &OutputFile,
|
const std::string &OutputFile,
|
||||||
const std::vector<std::string> &SharedLibs =
|
const std::vector<std::string> &SharedLibs =
|
||||||
std::vector<std::string>());
|
std::vector<std::string>(),
|
||||||
|
unsigned Timeout = 0);
|
||||||
|
|
||||||
// Sometimes we just want to go half-way and only generate the .s file,
|
// Sometimes we just want to go half-way and only generate the .s file,
|
||||||
// not necessarily compile it all the way and run the program. This throws
|
// not necessarily compile it all the way and run the program. This throws
|
||||||
|
@ -64,7 +64,7 @@ public:
|
|||||||
const std::string &InputFile,
|
const std::string &InputFile,
|
||||||
const std::string &OutputFile,
|
const std::string &OutputFile,
|
||||||
const std::vector<std::string> &SharedLibs =
|
const std::vector<std::string> &SharedLibs =
|
||||||
std::vector<std::string>());
|
std::vector<std::string>(), unsigned Timeout = 0);
|
||||||
|
|
||||||
/// MakeSharedObject - This compiles the specified file (which is either a .c
|
/// MakeSharedObject - This compiles the specified file (which is either a .c
|
||||||
/// file or a .s file) into a shared object.
|
/// file or a .s file) into a shared object.
|
||||||
@ -110,7 +110,8 @@ struct AbstractInterpreter {
|
|||||||
const std::string &InputFile,
|
const std::string &InputFile,
|
||||||
const std::string &OutputFile,
|
const std::string &OutputFile,
|
||||||
const std::vector<std::string> &SharedLibs =
|
const std::vector<std::string> &SharedLibs =
|
||||||
std::vector<std::string>()) = 0;
|
std::vector<std::string>(),
|
||||||
|
unsigned Timeout = 0) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
//===---------------------------------------------------------------------===//
|
//===---------------------------------------------------------------------===//
|
||||||
@ -139,7 +140,8 @@ public:
|
|||||||
const std::string &InputFile,
|
const std::string &InputFile,
|
||||||
const std::string &OutputFile,
|
const std::string &OutputFile,
|
||||||
const std::vector<std::string> &SharedLibs =
|
const std::vector<std::string> &SharedLibs =
|
||||||
std::vector<std::string>());
|
std::vector<std::string>(),
|
||||||
|
unsigned Timeout = 0);
|
||||||
|
|
||||||
// Sometimes we just want to go half-way and only generate the .c file, not
|
// Sometimes we just want to go half-way and only generate the .c file, not
|
||||||
// necessarily compile it with GCC and run the program. This throws an
|
// necessarily compile it with GCC and run the program. This throws an
|
||||||
@ -175,7 +177,8 @@ public:
|
|||||||
const std::string &InputFile,
|
const std::string &InputFile,
|
||||||
const std::string &OutputFile,
|
const std::string &OutputFile,
|
||||||
const std::vector<std::string> &SharedLibs =
|
const std::vector<std::string> &SharedLibs =
|
||||||
std::vector<std::string>());
|
std::vector<std::string>(),
|
||||||
|
unsigned Timeout = 0);
|
||||||
|
|
||||||
// Sometimes we just want to go half-way and only generate the .s file,
|
// Sometimes we just want to go half-way and only generate the .s file,
|
||||||
// not necessarily compile it all the way and run the program. This throws
|
// not necessarily compile it all the way and run the program. This throws
|
||||||
|
Loading…
x
Reference in New Issue
Block a user