[llvm-dev] clang invokes assembler when generating obj file?

Xiaochu Liu via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 9 12:21:30 PDT 2015


Dear there,

I'm trying to use clang to invoke my backend to generate obj code using
command:

clang -target x-linux-gnu global.c -c

But it shows me an error:

clang: error: assembler command failed with exit code 1 (use -v to see
invocation)

I have assembler setup in my backend but it is incorrectly setup (not
currently using any assembler). Is there a way for clang to not invoke
assembler to generate obj code?

Thanks,
Xiaochu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150909/a9ac0f99/attachment.html>


More information about the llvm-dev mailing list