[llvm-bugs] [Bug 31995] New: Verifier: When visiting a function, the DISubprogram is visited twice
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Feb 17 14:52:32 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=31995
Bug ID: 31995
Summary: Verifier: When visiting a function, the DISubprogram
is visited twice
Product: new-bugs
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: llvm-bugs at justinbogner.com
CC: llvm-bugs at lists.llvm.org
Verifier::visitFunction calls visitMDNode for all debug attachments (which will
include the subprogram if any), and then later specifically calls
visitDISubprogram. This duplication of work is mostly harmless, but it's
inefficient and means that any verifier errors here will be emitted twice.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170217/ef3fd6be/attachment.html>
More information about the llvm-bugs
mailing list