OSDN Git Service

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)
commit666a51320e75d3a3fc1b38c0b683496b40f49c18
tree8c10dfdf5296b271a0580b1fe98293060f810b40
parentbdec4aee7b44642585d1209af7c05953323be2e3
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221044 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DebugInfo.cpp