https://bugs.llvm.org/show_bug.cgi?id=39237
Bug ID: 39237
Summary: TypeFinder ignores function metadata
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Core LLVM classes
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
TypeFinder does not check for types used in the metadata of a function.
The bug can be demonstrated with the following module:
%struct = type { }
define void @func() !foo !0 { ret void }
!0 = !{%struct zeroinitializer}
After piping through llvm-as|llvm-dis, the result is this:
define void @func() !foo !0 { ret void }
!0 = !{%struct zeroinitializer}
Because of the TypeFinder bug, llvm-dis doesn't print the struct definition,
and the output is invalid.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs