<div dir="ltr">I dont' know why its final. That routine is just a method to force the current write pointer to a specific alignment. Shouldn't you be changing the callers to give you the alignment you want or don't want.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 21, 2016 at 4:29 PM, Rail Shafigulin <span dir="ltr"><<a href="mailto:rail@esenciatech.com" target="_blank">rail@esenciatech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Jan 21, 2016 at 4:04 PM, Craig Topper <span dir="ltr"><<a href="mailto:craig.topper@gmail.com" target="_blank">craig.topper@gmail.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><div dir="ltr">Isn't it also marked 'final' so it can't be inherited from anyway? What's your need to inherit from it?</div></span><div class="gmail_extra"><span><font color="#888888">-- <br><div>~Craig</div>
</font></span></div>
</blockquote></div><br>Oops, missed the final part. I need to change the alignment. For my target it is sort of independent of the data layout. I was going to overwrite </div><div class="gmail_extra">void MCAsmStreamer::EmitValueToAlignment(unsigned ByteAlignment, int64_t Value, unsigned ValueSize, unsigned MaxBytesToEmit).</div><div class="gmail_extra"> <br></div><div class="gmail_extra"><div>What is the reason it was made final? Why not to separate this class into its own module?</div><span class="">-- <br><div><div dir="ltr"><div><div dir="ltr"><div>Rail Shafigulin<br></div>Software Engineer <br>Esencia Technologies<br></div></div></div></div>
</span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">~Craig</div>
</div>