[cfe-dev] Clang assembler missed features

Roberto E. Vargas Caballero via cfe-dev cfe-dev at lists.llvm.org
Mon Apr 16 07:41:09 PDT 2018


Hi,


I work in arm in an open source project called TF [1], and we support
compilation with clang.  We want to get rid of GNU tools when a clang
toolchain is used, but we found some problems when we try to use the
clang assembler:

         - .func, .endfunc and .struct  directives are not supported
         - substraction of relative labels doesn't produce absolute
           values

                 .if (. - \begin) > 32)

                 generates 'error: expected absolute expression' message

Is clang going to support these features?

Best regards,


[1] https://github.com/ARM-software/arm-trusted-firmware
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.



More information about the cfe-dev mailing list