From: Chris Lattner Date: Fri, 20 May 2005 03:25:29 +0000 (+0000) Subject: Give the asmparser the ability to parse strings, patch contributed by X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=98c162a08635fbfc94196195bd8e73fef3196784;p=oota-llvm.git Give the asmparser the ability to parse strings, patch contributed by Alexander Friedman! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22145 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Assembly/Parser.h b/include/llvm/Assembly/Parser.h index d2edd665e36..39a622b2868 100644 --- a/include/llvm/Assembly/Parser.h +++ b/include/llvm/Assembly/Parser.h @@ -28,6 +28,7 @@ class ParseException; // the verifier after parsing the file to check that it's ok. // Module *ParseAssemblyFile(const std::string &Filename);// throw (ParseException) +Module *ParseAssemblyString(const char * AsmString, Module * M);// throw (ParseException) //===------------------------------------------------------------------------=== // Helper Classes