<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><div>On 2007-10-17, at 01:37, Chris Lattner wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Trebuchet MS" size="3" style="font: 12.0px Trebuchet MS">This is getting a bit crazy/unmaintainable.<span class="Apple-converted-space"> </span>When convenient, can you <span class="Apple-converted-space"> </span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Trebuchet MS" size="3" style="font: 12.0px Trebuchet MS">please investigate making the various clang modes dynamically <span class="Apple-converted-space"> </span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Trebuchet MS" size="3" style="font: 12.0px Trebuchet MS">registratable using the "llvm/Support/Registry.h" mechanism?<span class="Apple-converted-space"> </span>It <span class="Apple-converted-space"> </span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Trebuchet MS" size="3" style="font: 12.0px Trebuchet MS">would be very nice for clang to just get new options when new .o <span class="Apple-converted-space"> </span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Trebuchet MS" size="3" style="font: 12.0px Trebuchet MS">files are linked in (this also gives support for dynamically loadable <span class="Apple-converted-space"> </span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Trebuchet MS" size="3" style="font: 12.0px Trebuchet MS">toys).</font></div> </blockquote></div><div><br class="webkit-block-placeholder"></div>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?<br><div><br class="webkit-block-placeholder"></div><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Trebuchet MS; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Trebuchet MS; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Trebuchet MS; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>On 2007-08-31, at 11:13, Gordon Henriksen wrote:</div><div><br class="webkit-block-placeholder"></div><blockquote type="cite"><div>On 2007-08-31, at 01:32, Gordon Henriksen wrote:</div><div><br></div><blockquote type="cite"><div>This is a template that takes care of managing plugin registries. I haven't converted anything else to use it, though.</div></blockquote><div><br></div><div>-50 LOC for TargetMachineRegistry.</div></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><div><span class="Apple-style-span" style="-webkit-text-stroke-width: -1; "></span></div></blockquote></span></span></span></div></body></html>