diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-20 03:25:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-20 03:25:29 +0000 |
commit | 98c162a08635fbfc94196195bd8e73fef3196784 (patch) | |
tree | 70bb2c1420c376b3923606424c756c57e2f772b4 | |
parent | 8bc6f934e8e7e0072ad7779322c0efae0529f2a6 (diff) |
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
-rw-r--r-- | include/llvm/Assembly/Parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Assembly/Parser.h b/include/llvm/Assembly/Parser.h index d2edd665e3..39a622b286 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 |