<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Attached patch for removing for the first trivial RecordKeeper:: getAllDerivedDefinitions(...) <div>dependency on the global RecordKeeper Records instance. The real work will be removing</div><div>this dependency from the other Record.h classes/structs, and from TGParser. Thinking this would</div><div>be implemented as some sort of context structure/class holding a RecordKeeper instance passed</div><div>to TGParser which in turn would set this RecordKeeper instance on the various Record classes/</div><div>structures. Not sure about this yet. Free to direct if you wish. :-)</div><div><br></div><div>I checked this with make (with clang), and Release+Asserts/bin/llvm-lit test/TableGen.</div><div><br></div><div>Garrison</div><div></div></body></html>