[LLVMbugs] [Bug 12354] New: CppBackend does not handle metadata

2 views
Skip to first unread message

bugzill...@llvm.org

unread,
Mar 26, 2012, 4:58:40 AM3/26/12
to llvm...@cs.uiuc.edu
http://llvm.org/bugs/show_bug.cgi?id=12354

Bug #: 12354
Summary: CppBackend does not handle metadata
Product: libraries
Version: 3.0
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Target Description Classes
AssignedTo: unassig...@nondot.org
ReportedBy: 6vunk...@snkmail.com
CC: llvm...@cs.uiuc.edu
Classification: Unclassified


Running "llc -march=cpp foo.ll" where foo contains metadata (e.g., debug
metadata produced by "clang -g -O0 -S -emit-llvm foo.c -o foo.ll") results in
"LLVM ERROR: Invalid primitive type". That error message comes from the fact
that the metadata type is missing from a switch statement in CPPBackend.cpp,
but just adding the "case Metadata" is not sufficient, as the metadata
producing c++ api is still not emitted.

Here's my test program:

float foo( float x )
{
return x * x;
}

int frab;

--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
LLVM...@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply all
Reply to author
Forward
0 new messages