summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackColoring.cpp
diff options
context:
space:
mode:
authorDavid Stenberg <david.stenberg@ericsson.com>2018-05-29 13:07:58 +0000
committerDavid Stenberg <david.stenberg@ericsson.com>2018-05-29 13:07:58 +0000
commitd45d7eae053111e8f0e33849f28e412b8b718f1c (patch)
tree518f57e98922f3c7920ccfdd0837f6d8797e13cb /llvm/lib/CodeGen/StackColoring.cpp
parentf6c870a794e3e09660ee86e5b1eb0b8a17f28c6d (diff)
downloadbcm5719-llvm-d45d7eae053111e8f0e33849f28e412b8b718f1c.tar.gz
bcm5719-llvm-d45d7eae053111e8f0e33849f28e412b8b718f1c.zip
Fix emission of phony dependency targets when adding extra deps
Summary: This commit fixes a bug where passing extra dependency entries (using -fdepfile-entry) would result in -MP incorrectly emitting a phony target for the input file, and no phony target for the first extra dependency. The extra dependencies are added first to the filename vector in DFGImpl. That clashed with the emission of the phony targets, as the code assumed that the first index always correspond to the input file. Reviewers: rsmith, pcc, krasin, bruno, vsapsai Reviewed By: vsapsai Subscribers: vsapsai, bruno, cfe-commits Differential Revision: https://reviews.llvm.org/D44568 llvm-svn: 333413
Diffstat (limited to 'llvm/lib/CodeGen/StackColoring.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud