[LLVMbugs] [Bug 22921] New: missing required field 'name' in MDSubprogram metadata for c++ virtual thunk
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Mar 16 10:25:01 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=22921
Bug ID: 22921
Summary: missing required field 'name' in MDSubprogram metadata
for c++ virtual thunk
Product: libraries
Version: trunk
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: LLVM assembly language parser
Assignee: unassignedbugs at nondot.org
Reporter: khilan.gudka at cl.cam.ac.uk
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Hi
Not sure whether this is a bug in clang or llvm. LLParser thinks that the
'name' field is required for MDSubprogram metadata for virtual C++ thunks, but
this field is not present, and there is an existing clang test that seems to
suggest that the name field is not intended to be present. Here is the test
(tools/clang/test/CodeGenCXX/debug-info-thunk.cpp):
struct A {
virtual void f();
};
struct B {
virtual void f();
};
struct C : A, B {
virtual void f();
};
void C::f() { }
Compile it to a .ll file and then run with opt to get the error.
--
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/20150316/6284d4fa/attachment.html>
More information about the llvm-bugs
mailing list