[llvm-dev] Asm syntax
Sudhindra Kulkarni via llvm-dev
llvm-dev at lists.llvm.org
Wed Aug 4 06:17:26 PDT 2021
Hi team,
I have a project which consists of c/h files. I am libclang
infrastructure to perform static code analysis. The project is designed to
be compiled with GHS(Greenhills) compiler. The "asm" syntax of GHS is quite
different from what clang supports.
Asm syntax of GHS looks like,
_asmleaf void functioname(){
//assembly instructions
}
Or
asm void functionname(){
//assembly instructions
}
So for such a syntax clang is throwing compilation error.
So is there a way to make clang not throw errors.
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210804/4575dc22/attachment.html>
More information about the llvm-dev
mailing list