Give the asmparser the ability to parse strings, patch contributed by
authorChris Lattner <sabre@nondot.org>
Fri, 20 May 2005 03:25:29 +0000 (03:25 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 20 May 2005 03:25:29 +0000 (03:25 +0000)
Alexander Friedman!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22145 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Assembly/Parser.h

index d2edd665e36738786f469dc4ed7f8c711d9fa304..39a622b2868bf6344ea6dee9074a19821e421d66 100644 (file)
@@ -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