diff options
author | Brad King <brad.king@kitware.com> | 2018-10-17 10:46:00 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-10-18 08:11:19 -0400 |
commit | dacbb414550db63ff40225f3f6057c3c74bcf5c9 (patch) | |
tree | 6f51a0e964005de1c3a715e8734181838777aa2a /Source/cmComputeComponentGraph.cxx | |
parent | a6e02f881dc5e74d79201f761fb28c99a9e7d2af (diff) | |
download | cmake-dacbb414550db63ff40225f3f6057c3c74bcf5c9.tar.gz |
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.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmComputeComponentGraph.cxx b/Source/cmComputeComponentGraph.cxx index a7dc1ca03a..5820df6f09 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()); } } } |