commit | 2339c939d329adb73088e7b3f4428d2430168dfe | [log] [tgz] |
---|---|---|
author | Reid Kleckner <rnk@google.com> | Wed Apr 25 23:34:15 2018 +0000 |
committer | Reid Kleckner <rnk@google.com> | Wed Apr 25 23:34:15 2018 +0000 |
tree | a3bf0184997a03ae486801da033980559bd7bf36 | |
parent | bf540e5abf5e440380e2a5e0ffc5d0facf4fb63f [diff] |
[codeview] Ignore .cv_loc directives at the end of a function If no data or instructions are emitted after a location directive, we should clear the cv_loc when we change sections, or it will be emitted at the beginning of the next section. This violates our invariant that all .cv_loc directives belong to the same section. Add clearer assertions for this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330884 91177308-0d34-0410-b5e6-96231b3b80d8