On Oct 17, 2007, at 10:21 AM, Gordon Henriksen wrote: > On 2007-10-17, at 01:37, Chris Lattner wrote: > >> This is getting a bit crazy/unmaintainable. When convenient, can you >> please investigate making the various clang modes dynamically >> registratable using the "llvm/Support/Registry.h" mechanism? It >> would be very nice for clang to just get new options when new .o >> files are linked in (this also gives support for dynamically loadable >> toys). > > Is there any interest in the below patch which converts > TargetMachineRegistry to use the generic Registry.h facility, or > should I drop it from my queue?
Very nice, please apply. Does this change the llc --help output? -Chris > On 2007-08-31, at 11:13, Gordon Henriksen wrote: > >> On 2007-08-31, at 01:32, Gordon Henriksen wrote: >> >>> This is a template that takes care of managing plugin registries. >>> I haven't converted anything else to use it, though. >> >> -50 LOC for TargetMachineRegistry. >> > <targetmachineregistry.patch> > > — Gordon > > _______________________________________________ > llvm-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits _______________________________________________ llvm-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
