summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-05-07 16:56:58 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-05-07 16:56:58 +0000
commit87dab87a668237e418ef2ed7b22d8fda3e2c5811 (patch)
tree2debcb02ccff602fbad663f2a3b27d471787cc59 /llvm/lib
parente825c854a851a516245ce75d01673d7d8318ae63 (diff)
downloadbcm5719-llvm-87dab87a668237e418ef2ed7b22d8fda3e2c5811.tar.gz
bcm5719-llvm-87dab87a668237e418ef2ed7b22d8fda3e2c5811.zip
PR19562: Fix another temporary node leak in Clang debug info emission
While constructing ObjC Interface types we might create the declaration of some normal C++ types, thus adding things to the ReplaceMap. Make sure we process the ReplaceMap after the ObjC interfaces. In theory we know at this point, since we're at the end of the TU, that we won't be upgrading any declarations to definitions, so we could just construct non-temporary nodes, but that would require extra state in CGDebugInfo to conditionalize the creation of declaration nodes which seems annoying/more work than is appropriate. llvm-svn: 208226
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud