[LLVMdev] tblgen internals

Chris Lattner clattner at apple.com
Sun Dec 12 16:23:39 PST 2010


On Dec 10, 2010, at 12:31 PM, Garrison Venn wrote:

> Attached patch for removing for the first trivial RecordKeeper:: getAllDerivedDefinitions(...) 
> dependency on the global RecordKeeper Records instance. The real work will be removing
> this dependency from the other Record.h classes/structs, and from TGParser. Thinking this would
> be implemented as some sort of context structure/class holding a RecordKeeper instance passed
> to TGParser which in turn would set this RecordKeeper instance on the various Record classes/
> structures. Not sure about this yet. Free to direct if you wish. :-)
> 
> I checked this with make (with clang), and Release+Asserts/bin/llvm-lit test/TableGen.

Applied in r121658, thanks Garrison!

-Chris





More information about the llvm-dev mailing list