Restore "[ThinLTO] Serialize the Module SourceFileName to/from LLVM assembly"
authorTeresa Johnson <tejohnson@google.com>
Wed, 30 Mar 2016 18:15:08 +0000 (18:15 +0000)
committerTeresa Johnson <tejohnson@google.com>
Wed, 30 Mar 2016 18:15:08 +0000 (18:15 +0000)
commit83c517c44eb3087b284ee73c49decb7aaf38e273
tree057d5dfded82a215d44efe9296e81b6d4f4bf731
parenta7c5e1922dd290336849cb59377b92150e700331
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
llvm/lib/AsmParser/LLLexer.cpp
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/AsmParser/LLParser.h
llvm/lib/AsmParser/LLToken.h
llvm/lib/IR/AsmWriter.cpp
llvm/test/Assembler/source-filename-backslash.ll [new file with mode: 0644]
llvm/test/Assembler/source-filename.ll [new file with mode: 0644]