summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/AsmWriter.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-03-30 15:16:04 +0000
committerTeresa Johnson <tejohnson@google.com>2016-03-30 15:16:04 +0000
commit20beeea24a6a11cac6e59dee8250b72fe24b6871 (patch)
tree5b2eec5243703856e1abb942b38316b66b0a214d /llvm/lib/IR/AsmWriter.cpp
parentb87ffe851903721481d953d37e7c654cd79cc22e (diff)
downloadbcm5719-llvm-20beeea24a6a11cac6e59dee8250b72fe24b6871.tar.gz
bcm5719-llvm-20beeea24a6a11cac6e59dee8250b72fe24b6871.zip
Revert "[ThinLTO] Serialize the Module SourceFileName to/from LLVM assembly"
This reverts commit r264869. I am seeing Windows bot failures due to the "\" in the path being mishandled at some point (seems to be interpreted wrongly at some point and llvm-as | llvm-dis is yielding some junk characters). Need to investigate. llvm-svn: 264871
Diffstat (limited to 'llvm/lib/IR/AsmWriter.cpp')
-rw-r--r--llvm/lib/IR/AsmWriter.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/IR/AsmWriter.cpp b/llvm/lib/IR/AsmWriter.cpp
index 3051193f890..ab56f08014e 100644
--- a/llvm/lib/IR/AsmWriter.cpp
+++ b/llvm/lib/IR/AsmWriter.cpp
@@ -2215,9 +2215,6 @@ void AssemblyWriter::printModule(const Module *M) {
M->getModuleIdentifier().find('\n') == std::string::npos)
Out << "; ModuleID = '" << M->getModuleIdentifier() << "'\n";
- if (!M->getSourceFileName().empty())
- Out << "source_filename = \"" << M->getSourceFileName() << "\"\n";
-
const std::string &DL = M->getDataLayoutStr();
if (!DL.empty())
Out << "target datalayout = \"" << DL << "\"\n";
OpenPOWER on IntegriCloud