[llvm-commits] r43052 - in /cfe/trunk: Driver/ASTConsumers.h Driver/SerializationTest.cpp Driver/clang.cpp include/clang/Basic/IdentifierTable.h

Gordon Henriksen ghenriksen at carbonite.com
Wed Oct 17 10:21:19 PDT 2007


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?

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.
>

— Gordon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20071017/5c98b1b8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: targetmachineregistry.patch
Type: application/octet-stream
Size: 12284 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20071017/5c98b1b8/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20071017/5c98b1b8/attachment-0001.html>


More information about the llvm-commits mailing list