| commit | 4d358b55fa82e937dd3acd099c0c009473c82c57 | [log] [tgz] |
|---|---|---|
| author | Peter Collingbourne <peter@pcc.me.uk> | Sun May 27 18:36:44 2012 +0000 |
| committer | Peter Collingbourne <peter@pcc.me.uk> | Sun May 27 18:36:44 2012 +0000 |
| tree | 06ce212665140609d7e4306ae66411efdd07c6f8 | |
| parent | f39c278384c21356489426375854a9a09fa16c61 [diff] |
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