aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LTO/LTO.cpp
diff options
context:
space:
mode:
authorVolodymyr Sapsai <vsapsai@apple.com>2018-02-12 20:43:31 +0000
committerVolodymyr Sapsai <vsapsai@apple.com>2018-02-12 20:43:31 +0000
commit2ad768bb1326a2a05ab3f89c22208d083ad304fd (patch)
tree30993a317d27a7880055f9f6b40b6238caa2ef93 /llvm/lib/LTO/LTO.cpp
parent9fa3a808b5e24b60f5be3db5f5fc7031da83ceef (diff)
downloadllvm-2ad768bb1326a2a05ab3f89c22208d083ad304fd.zip
llvm-2ad768bb1326a2a05ab3f89c22208d083ad304fd.tar.gz
llvm-2ad768bb1326a2a05ab3f89c22208d083ad304fd.tar.bz2
Revert "[ThinLTO] Add GraphTraits for FunctionSummaries"
It caused assertion failure Assertion failed: (!DD.IsLambda && !MergeDD.IsLambda && "faked up lambda definition?"), function MergeDefinitionData, file /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/tools/clang/lib/Serialization/ASTReaderDecl.cpp, line 1675. on the second stage build bots. llvm-svn: 324932
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
-rw-r--r--llvm/lib/LTO/LTO.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp
index 94baee6..1047b8d 100644
--- a/llvm/lib/LTO/LTO.cpp
+++ b/llvm/lib/LTO/LTO.cpp
@@ -50,10 +50,6 @@ using namespace object;
#define DEBUG_TYPE "lto"
-static cl::opt<bool>
- DumpThinCGSCCs("dump-thin-cg-sccs", cl::init(false), cl::Hidden,
- cl::desc("Dump the SCCs in the ThinLTO index's callgraph"));
-
// The values are (type identifier, summary) pairs.
typedef DenseMap<
GlobalValue::GUID,
@@ -1145,9 +1141,6 @@ Error LTO::runThinLTO(AddStreamFn AddStream, NativeObjectCache Cache) {
ThinLTO.ModuleMap.size());
StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR;
- if (DumpThinCGSCCs)
- ThinLTO.CombinedIndex.dumpSCCs(outs());
-
if (Conf.OptLevel > 0)
ComputeCrossModuleImport(ThinLTO.CombinedIndex, ModuleToDefinedGVSummaries,
ImportLists, ExportLists);