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

Rail Shafigulin via llvm-dev llvm-dev at lists.llvm.org
Fri Jan 22 11:36:46 PST 2016


On Fri, Jan 22, 2016 at 11:25 AM, Rail Shafigulin <rail at esenciatech.com>
wrote:

>
> On Thu, Jan 21, 2016 at 10:07 PM, Craig Topper <craig.topper at gmail.com>
> wrote:
>
>> 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.
>>
>
> I made that assumption based on a very cursory look through the code.
> Didn't have the time to study it thoroughly. Sorry if this created any
> confusion.
>
> Or is it used for inline assembly?
>>
>> --
>> ~Craig
>>
>
>
> --
> Rail Shafigulin
> Software Engineer
> Esencia Technologies
>

If you know how to does LLVM determine the alignment for a given processor
I'd appreciate if you can point it out. I've been at it since last night
and still can't figure it out.

-- 
Rail Shafigulin
Software Engineer
Esencia Technologies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160122/16f12095/attachment.html>


More information about the llvm-dev mailing list