aboutsummaryrefslogtreecommitdiff
path: root/Driver/clang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r--Driver/clang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index 80d6c241b7..d440aad6a2 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -1048,7 +1048,7 @@ static void ProcessSerializedFile(const std::string& InFile, Diagnostic& Diag,
exit (1);
}
- TranslationUnit* TU = TranslationUnit::ReadBitcodeFile(Filename,FileMgr);
+ TranslationUnit* TU = ReadASTBitcodeFile(Filename,FileMgr);
if (!TU) {
fprintf(stderr, "error: file '%s' could not be deserialized\n",