summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeComponentGraph.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-17 14:46:00 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-18 12:11:19 (GMT)
commitdacbb414550db63ff40225f3f6057c3c74bcf5c9 (patch)
tree6f51a0e964005de1c3a715e8734181838777aa2a /Source/cmComputeComponentGraph.cxx
parenta6e02f881dc5e74d79201f761fb28c99a9e7d2af (diff)
downloadCMake-dacbb414550db63ff40225f3f6057c3c74bcf5c9.zip
CMake-dacbb414550db63ff40225f3f6057c3c74bcf5c9.tar.gz
CMake-dacbb414550db63ff40225f3f6057c3c74bcf5c9.tar.bz2
Track backtraces in target dependencies internally
Carry backtraces on target dependency edges to refer to the line in project code that caused the edge to appear.
Diffstat (limited to 'Source/cmComputeComponentGraph.cxx')
-rw-r--r--Source/cmComputeComponentGraph.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmComputeComponentGraph.cxx b/Source/cmComputeComponentGraph.cxx
index a7dc1ca..5820df6 100644
--- a/Source/cmComputeComponentGraph.cxx
+++ b/Source/cmComputeComponentGraph.cxx
@@ -125,8 +125,8 @@ void cmComputeComponentGraph::TransferEdges()
if (i_component != j_component) {
// We do not attempt to combine duplicate edges, but instead
// store the inter-component edges with suitable multiplicity.
- this->ComponentGraph[i_component].emplace_back(j_component,
- ni.IsStrong());
+ this->ComponentGraph[i_component].emplace_back(
+ j_component, ni.IsStrong(), ni.GetBacktrace());
}
}
}