[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 12:13:22 PST 2016


On Fri, Jan 22, 2016 at 10:57 AM, Reid Kleckner <rnk at google.com> wrote:

> It appears that the intended mechanism for extending the AsmStreamer is
> through the MCTargetStreamer interface:
> http://llvm.org/docs/doxygen/html/classllvm_1_1MCTargetStreamer.html
>

I think we are talking about two different things here. There is
MCAsmStreamer,
http://llvm.org/docs/doxygen/html/MCAsmStreamer_8cpp_source.html, line 41,
as well as MCTargetStreamer,
http://llvm.org/docs/doxygen/html/classllvm_1_1MCTargetStreamer.html. One
can't implement an interface (i.e overwrite a method) for MCAsmStreamer
since it is marked as final.

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


More information about the llvm-dev mailing list