Skip to content
Commit 4d358b55 authored by Peter Collingbourne's avatar Peter Collingbourne
Browse files

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
parent f39c2783
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment