[llvm-dev] Is there a reason why MCAsmStreamer class doesn't have its own .h file?

Craig Topper via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 21 22:07:48 PST 2016


At least one of the callers would be from the .align directive which I
assume you wouldn't want to overload. Where does it come from DataLayout?
AsmStreamer is used for assembling from text and I wouldn't expect that to
use DataLayout. Or is it used for inline assembly?

On Thu, Jan 21, 2016 at 5:25 PM, Rail Shafigulin <rail at esenciatech.com>
wrote:

>
>
> On Thu, Jan 21, 2016 at 5:03 PM, Craig Topper <craig.topper at gmail.com>
> wrote:
>
>> 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.
>>
>>
>>
>> --
>> ~Craig
>>
>
> It looks like the callers get their information from the data layout
> object, which in my case is not what I need. Any suggestions?
>
> --
> Rail Shafigulin
> Software Engineer
> Esencia Technologies
>



-- 
~Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160121/59e88585/attachment.html>


More information about the llvm-dev mailing list