diff options
author | Volodymyr Sapsai <vsapsai@apple.com> | 2018-02-12 20:43:31 +0000 |
---|---|---|
committer | Volodymyr Sapsai <vsapsai@apple.com> | 2018-02-12 20:43:31 +0000 |
commit | fc5c4dcc7a0aa39c30073336f1982f239ccfa9a3 (patch) | |
tree | 5afe63595e5ca61fdf429aed492b1cd946cbb495 /lib/LTO/LTO.cpp | |
parent | c91f4ccc3d836609dbafa493791948108f4d4c2f (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.cpp | 7 |
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); |