forked from OSchip/llvm-project
parent
dbcd4fda49
commit
14756e8e1c
|
|
@ -296,7 +296,8 @@ Module* llvm::AnalyzeBytecodeFile(
|
||||||
const std::string &Filename, ///< File to analyze
|
const std::string &Filename, ///< File to analyze
|
||||||
BytecodeAnalysis& bca, ///< Statistical output
|
BytecodeAnalysis& bca, ///< Statistical output
|
||||||
std::string *ErrorStr, ///< Error output
|
std::string *ErrorStr, ///< Error output
|
||||||
std::ostream* output) ///< Dump output
|
std::ostream* output ///< Dump output
|
||||||
|
)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
BytecodeHandler* analyzerHandler =createBytecodeAnalyzerHandler(bca,output);
|
BytecodeHandler* analyzerHandler =createBytecodeAnalyzerHandler(bca,output);
|
||||||
|
|
@ -316,7 +317,8 @@ Module* llvm::AnalyzeBytecodeBuffer(
|
||||||
const std::string& ModuleID, ///< Identifier for the module
|
const std::string& ModuleID, ///< Identifier for the module
|
||||||
BytecodeAnalysis& bca, ///< The results of the analysis
|
BytecodeAnalysis& bca, ///< The results of the analysis
|
||||||
std::string* ErrorStr, ///< Errors, if any.
|
std::string* ErrorStr, ///< Errors, if any.
|
||||||
std::ostream* output) ///< Dump output, if any
|
std::ostream* output ///< Dump output, if any
|
||||||
|
)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
BytecodeHandler* hdlr = createBytecodeAnalyzerHandler(bca, output);
|
BytecodeHandler* hdlr = createBytecodeAnalyzerHandler(bca, output);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue