[llvm-commits] [lld] r154246 - in /lld/trunk: include/lld/Core/TODO.txt lib/Core/TODO.txt
Nick Kledzik
kledzik at apple.com
Fri Apr 6 18:54:17 PDT 2012
Author: kledzik
Date: Fri Apr 6 20:54:17 2012
New Revision: 154246
URL: http://llvm.org/viewvc/llvm-project?rev=154246&view=rev
Log:
Add to-do lists
Added:
lld/trunk/include/lld/Core/TODO.txt
lld/trunk/lib/Core/TODO.txt
Added: lld/trunk/include/lld/Core/TODO.txt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/TODO.txt?rev=154246&view=auto
==============================================================================
--- lld/trunk/include/lld/Core/TODO.txt (added)
+++ lld/trunk/include/lld/Core/TODO.txt Fri Apr 6 20:54:17 2012
@@ -0,0 +1,12 @@
+
+* The native/yaml reader/writer interfaces should be changed to return
+an explanatory string if there is an error. The existing error_code
+abstraction only works for returning low level OS errors. It does not
+work for describing formatting issues.
+
+* We need to add more attributes to File. In particular, we need cpu
+and OS information (like target triples).
+
+
+
+
Added: lld/trunk/lib/Core/TODO.txt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/TODO.txt?rev=154246&view=auto
==============================================================================
--- lld/trunk/lib/Core/TODO.txt (added)
+++ lld/trunk/lib/Core/TODO.txt Fri Apr 6 20:54:17 2012
@@ -0,0 +1,24 @@
+
+* Add endianness support to the native reader and writer.
+
+* The NativeReader has lots of similar code for converting arrays of ivar
+data in mapped memory into arrays of objects. The commonality can be
+factored out, maybe templatized.
+
+* The NativeFileFormat.h is old school C structs and constants. We scope
+things better by defining constants used with a struct inside the struct
+declaration.
+
+* The native reader and writer currently just blast in memory enumeration
+values (e.g. DefinedAtom::Scope) into a byte in the disk format. To support
+future changes to the enumerations, there should be a translation layer
+to map disk values to in-memory values.
+
+* The Platform interface needs to be refactored. There should be less work
+done in the platform. Instead the Platform should just be a bunch of bool
+methods which direct the Resolver in how to operate. Subclasses of
+Platform can set the bool values in their constructors.
+
+* The YamlReader should be converted to use Michael's yaml parser once
+that goes into LLVM.
+
More information about the llvm-commits
mailing list