Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-11947

Code coverage instrumented files fail to assemble when -save-temps or -S is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-12996
    • Hide
      C29_1.0.0.LTS
      ARMCLANG_4.0.0.LTS
      Show
      C29_1.0.0.LTS ARMCLANG_4.0.0.LTS
    • Hide
      C29_1.0.1.LTS*
      ARMCLANG_4.0.3.LTS*
      Show
      C29_1.0.1.LTS* ARMCLANG_4.0.3.LTS*
    • default

      When `-save-temps` is used when code coverage instrumentation is being generated, or a code coverage instrumented file is dumped to assembly, the assembler will fail to assemble the file with various errors.

       

      c29clang -mcpu=c29.c0 -save-temps -fprofile-instr-generate -fcoverage-mapping -fprofile-function-groups=2 -fprofile-selected-function-group=0 -fmcdc test1.c -o exec1.out -Wl,-llnk.cmd
      
      test1.s:1786:92: error: Linkage must be 'comdat'
              .section        __llvm_prf_data,"oG",@progbits,.L__profc_conditionals,__profc_conditionals,unique,9                                            

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: