aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AsmParser/Parser.cpp')
-rw-r--r--lib/AsmParser/Parser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/AsmParser/Parser.cpp b/lib/AsmParser/Parser.cpp
index 0111ea35df..7bb4f0a362 100644
--- a/lib/AsmParser/Parser.cpp
+++ b/lib/AsmParser/Parser.cpp
@@ -42,6 +42,10 @@ Module *llvm::ParseAssemblyFile(const std::string &Filename) {
return Result;
}
+Module *llvm::ParseAssemblyString(const char * AsmString, Module * M) {
+ return RunVMAsmParser(AsmString, M);
+}
+
//===------------------------------------------------------------------------===
// ParseException Class