summaryrefslogtreecommitdiff
path: root/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
commitfc5c4dcc7a0aa39c30073336f1982f239ccfa9a3 (patch)
tree5afe63595e5ca61fdf429aed492b1cd946cbb495 /lib/LTO/LTO.cpp
parentc91f4ccc3d836609dbafa493791948108f4d4c2f (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@324932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/LTO/LTO.cpp')
-rw-r--r--lib/LTO/LTO.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/LTO/LTO.cpp b/lib/LTO/LTO.cpp
index 94baee63b0e..1047b8ddeb4 100644
--- a/lib/LTO/LTO.cpp
+++ b/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);