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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • Code Generation Tools
    • CODEGEN-12996
    • Hide
      C29_1.0.0.LTS
      ARMCLANG_5.0.0.STS
      ARMCLANG_4.0.0.LTS
      Show
      C29_1.0.0.LTS ARMCLANG_5.0.0.STS ARMCLANG_4.0.0.LTS
    • Hide
      C29_1.0.2.LTS*
      ARMCLANG_4.0.4.LTS
      Show
      C29_1.0.2.LTS* ARMCLANG_4.0.4.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                                            

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

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-4806 - Code coverage instrumented files fa...
                SYNCHRONIZED
                • Last Sync Date: