http://llvm.org/bugs/show_bug.cgi?id=5618
Summary: Move C backend to Clang
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Keywords: code-cleanup
Severity: enhancement
Priority: P2
Component: Backend: C
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
The LLVM C backend should be moved to the clang module. Once moved, it can be
incrementally modified to build a live clang C/C++/ObjC AST. Building AST
directly instead of outputting strings of code should result in a net
simplification of CBackend.cpp, a lot of the current 3696 lines of which are
doing work that clang's pretty printer could do.
Once this AST exists, clang's existing code analysis features can be used to
detect high level C and C++ constructs and generate much cleaner source code.
Coupled with the new X86Disassembler, this will provide an elegant way to
disassemble machine code straight to readable and well-formatted C++.
I'd provide a patch, but all that really needs to be done to start with is an
svn mv.
--
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
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs