aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/AsmParser/LLLexer.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-03-30 18:15:08 +0000
committerTeresa Johnson <tejohnson@google.com>2016-03-30 18:15:08 +0000
commit83c517c44eb3087b284ee73c49decb7aaf38e273 (patch)
tree057d5dfded82a215d44efe9296e81b6d4f4bf731 /llvm/lib/AsmParser/LLLexer.cpp
parenta7c5e1922dd290336849cb59377b92150e700331 (diff)
downloadllvm-83c517c44eb3087b284ee73c49decb7aaf38e273.zip
llvm-83c517c44eb3087b284ee73c49decb7aaf38e273.tar.gz
llvm-83c517c44eb3087b284ee73c49decb7aaf38e273.tar.bz2
Restore "[ThinLTO] Serialize the Module SourceFileName to/from LLVM assembly"
This restores commit 264869, with a fix for windows bots to properly escape '\' in the path when serializing out. Added test. llvm-svn: 264884
Diffstat (limited to 'llvm/lib/AsmParser/LLLexer.cpp')
-rw-r--r--llvm/lib/AsmParser/LLLexer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp
index d238513..46ffc64 100644
--- a/llvm/lib/AsmParser/LLLexer.cpp
+++ b/llvm/lib/AsmParser/LLLexer.cpp
@@ -533,6 +533,7 @@ lltok::Kind LLLexer::LexIdentifier() {
KEYWORD(notail);
KEYWORD(target);
KEYWORD(triple);
+ KEYWORD(source_filename);
KEYWORD(unwind);
KEYWORD(deplibs); // FIXME: Remove in 4.0.
KEYWORD(datalayout);