IR: Restore the old behavior of getDISubprogram
authorDavid Majnemer <david.majnemer@gmail.com>
Sat, 1 Nov 2014 07:57:14 +0000 (07:57 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sat, 1 Nov 2014 07:57:14 +0000 (07:57 +0000)
commitc758df4053767b19709a3345eb22f73f8894931b
tree84e576971094b28cb3dd7fd6016ceee32ba14d1d
parent0868137ac8c9661bd345444d17ac1d53bbc1a996
IR: Restore the old behavior of getDISubprogram

getDISubprogram was mistakenly thought to contain a bug: we thought we
might need to try harder if we found a DebugLoc we didn't find.

llvm-svn: 221044
llvm/lib/IR/DebugInfo.cpp