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 | 2ad768bb1326a2a05ab3f89c22208d083ad304fd (patch) | |
| tree | 30993a317d27a7880055f9f6b40b6238caa2ef93 /llvm/lib/LTO | |
| parent | 9fa3a808b5e24b60f5be3db5f5fc7031da83ceef (diff) | |
| download | bcm5719-llvm-2ad768bb1326a2a05ab3f89c22208d083ad304fd.tar.gz bcm5719-llvm-2ad768bb1326a2a05ab3f89c22208d083ad304fd.zip | |
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')
| -rw-r--r-- | llvm/lib/LTO/LTO.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp index 94baee63b0e..1047b8ddeb4 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); |

