aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Assembly
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-05-20 03:25:29 +0000
committerChris Lattner <sabre@nondot.org>2005-05-20 03:25:29 +0000
commit98c162a08635fbfc94196195bd8e73fef3196784 (patch)
tree70bb2c1420c376b3923606424c756c57e2f772b4 /include/llvm/Assembly
parent8bc6f934e8e7e0072ad7779322c0efae0529f2a6 (diff)
downloadexternal_llvm-98c162a08635fbfc94196195bd8e73fef3196784.zip
external_llvm-98c162a08635fbfc94196195bd8e73fef3196784.tar.gz
external_llvm-98c162a08635fbfc94196195bd8e73fef3196784.tar.bz2
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
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r--include/llvm/Assembly/Parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Assembly/Parser.h b/include/llvm/Assembly/Parser.h
index d2edd66..39a622b 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