commit | ef477f3580c1db48ccdc21915d4f5d99ff61a983 | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Fri Apr 24 21:53:27 2015 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Fri Apr 24 21:53:27 2015 +0000 |
tree | 0a23877b6fce2829e8948272a7f91c70166fdc69 | |
parent | eb79bb6e61583c3ba05c8478809c02e3cc7bb6d3 [diff] |
Verifier: Function metadata attachments require a body Add a verifier check that only functions with bodies have metadata attachments. This should help catch bugs in frontends and transformation passes. Part of PR23340. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235784 91177308-0d34-0410-b5e6-96231b3b80d8