[llvm-dev] using llvm-mc

Eric Christopher via llvm-dev llvm-dev at lists.llvm.org
Wed Apr 17 17:25:46 PDT 2019


To elaborate on Eli's answer:

llvm doesn't have a "gas" equivalent, but instead have focused on
using clang to do the assembly itself similarly to how you would use
gcc to do the same thing.

-eric

On Wed, Apr 17, 2019 at 4:50 PM Josh Sharp via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> Hi,
> I'm trying to assemble a .S file written in assembly using the llvm-mc utility. The file has a #include C preprocessor directive that seems to be ignored by llvm-mc. Is there any way to instruct llvm-mc to not ignore it?
>
> Thanks.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


More information about the llvm-dev mailing list