Hi!<div><br></div><div>I'm trying to build lld Microsoft Visual Studio 2012 RC, but it seems the bzero function is not available.</div><div><br></div><div>Could memset be used instead of bzero? Or maybe define a bzero for msvc using memset.</div>
<div><br></div><div>For example:</div><div><br></div><div><div>      // in-memory matches on-disk, so copy first fields followed by path</div><div>      ::memcpy(to, (uint8_t*)&cmd, 12);</div><div>      ::memcpy(&to[12], _name.data(), _name.size());</div>
<div>      ::bzero(&to[12+_name.size()], cmdsize-(12+_name.size()));</div></div><div><br></div><div>The bzero line could be changed to:</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre"> </span>  ::memset(&to[12+_name.size()], 0, cmdsize-(12+_name.size()));</div>
</div><div><br></div><div>Thanks a lot for the attention and congratulations for the great work!!!</div><div><br></div><div>Best regards</div><div>Mello</div>