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