diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-02-28 21:47:02 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-02-28 21:47:02 +0000 |
commit | 2c6a0a905c89e6e2d3a1335ac54d937c32cc53c1 (patch) | |
tree | e1b1bb05bd9c2bf1eeab6bca09788026219487b9 /llvm/lib/Object/IRObjectFile.cpp | |
parent | a951165e5a28718f129597602981a712fac32264 (diff) | |
download | llvm-2c6a0a905c89e6e2d3a1335ac54d937c32cc53c1.zip llvm-2c6a0a905c89e6e2d3a1335ac54d937c32cc53c1.tar.gz llvm-2c6a0a905c89e6e2d3a1335ac54d937c32cc53c1.tar.bz2 |
IR: Specialize MDScope::getFile() for MDFile
Fix `MDScope::getFile()` so that it correctly returns a valid `MDFile`
even when it's an instance of `MDFile`. This logic is necessary because
of r230057. I'm working on moving the new hierarchy into place
out-of-tree (on track to commit Monday morning, BTW), and this was
exposed by a few failing tests.
llvm-svn: 230871
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions