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

Compiler shell incorrectly claims to support --analyze=callgraph

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-7354
    • Hide
      C2000_20.8.0.STS*
      MSP430_20.2.0.LTS
      ARM_18.12.0.LTS
      MSP430_18.12.0.LTS
      ARM_20.2.0.LTS
      C2000_18.12.0.LTS
      C2000_20.2.0.LTS
      Show
      C2000_20.8.0.STS* MSP430_20.2.0.LTS ARM_18.12.0.LTS MSP430_18.12.0.LTS ARM_20.2.0.LTS C2000_18.12.0.LTS C2000_20.2.0.LTS
    • Hide
      C2000_20.8.0.STS*
      C2000_18.12.6.LTS
      MSP430_20.2.2.LTS*
      C2000_20.2.2.LTS*
      MSP430_18.12.6.LTS
      ARM_18.12.6.LTS
      ARM_20.2.2.LTS*
      Show
      C2000_20.8.0.STS* C2000_18.12.6.LTS MSP430_20.2.2.LTS* C2000_20.2.2.LTS* MSP430_18.12.6.LTS ARM_18.12.6.LTS ARM_20.2.2.LTS*
    • default

      Run the following command ...

      % cl2000 -h --analyze
        --analyze=codecov,callgraph
                                Generate analysis information about code coverage or
                                 call graph information in the form of CSV files.
                                 This information can then be read and interpreted by
                                 other tools.  For example, the cache layout tool,
                                 clt6x, can be used to interpret the call graph
                                 information and produce a preferred function order
                                 that can be incorporated into the application link.
                                 The compiler can only generate one kind of analysis
                                 information for a given invocation of the compiler.
      

      However, C28x does not support the callgraph variant, only codecov. Also notice how the help mentions a C6000 specific tool named clt6x.

      This error automatically propagates into CCS. Thus the compiler options dialog incorrectly shows --analyze=callgraph as a valid compiler option.

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

              Created:
              Updated:
              Resolved: