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 | 086f56c7f9f3bb43ceb7f85d19f1db5653b796ce (patch) | |
| tree | 69f13a6ab6d3c3d4949bc0a5d1ea48f142bf72f9 /llvm | |
| parent | e3948c433c637090d1fb5dbd70f049d7ebcb81ed (diff) | |
| download | bcm5719-llvm-086f56c7f9f3bb43ceb7f85d19f1db5653b796ce.tar.gz bcm5719-llvm-086f56c7f9f3bb43ceb7f85d19f1db5653b796ce.zip | |
Give the asmparser the ability to parse strings, patch contributed by
Alexander Friedman!
llvm-svn: 22145
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Assembly/Parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/Assembly/Parser.h b/llvm/include/llvm/Assembly/Parser.h index d2edd665e36..39a622b2868 100644 --- a/llvm/include/llvm/Assembly/Parser.h +++ b/llvm/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 |

