OSDN Git Service

DebugInfo: Migrate DISubprogram::describes() to new hierarchy, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 13 Apr 2015 19:07:27 +0000 (19:07 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 13 Apr 2015 19:07:27 +0000 (19:07 +0000)
commit8ca57e685e7452487232c6e12c2e9a76ee3f4638
treed046e41403e0c054f824bab000648c6b00e1bc9c
parentb6852d12a8ecf34f753b419ae83050bd9e39c188
DebugInfo: Migrate DISubprogram::describes() to new hierarchy, NFC

I don't really like this function at all -- I think it should be as
simple as `return getFunction() == F` -- but for now this seems like the
best we can do.

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