summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2012-05-27 18:36:44 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2012-05-27 18:36:44 +0000
commit4d358b55fa82e937dd3acd099c0c009473c82c57 (patch)
tree06ce212665140609d7e4306ae66411efdd07c6f8 /clang/lib/CodeGen/CodeGenModule.cpp
parentf39c278384c21356489426375854a9a09fa16c61 (diff)
downloadbcm5719-llvm-4d358b55fa82e937dd3acd099c0c009473c82c57.tar.gz
bcm5719-llvm-4d358b55fa82e937dd3acd099c0c009473c82c57.zip
Have getOrCreateSubprogramDIE store the DIE for a subprogram
definition in the map before calling itself to retrieve the DIE for the declaration. Without this change, if this causes getOrCreateSubprogramDIE to be recursively called on the definition, it will create multiple DIEs for that definition. Fixes PR12831. llvm-svn: 157541
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud