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

pdd tool fails when program includes unused file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-6132
    • Hide
      C2000_20.2.0.beta
      C6000_8.2.0
      C2000_18.1.0.LTS
      C6000_8.3.0
      ARM_18.12.0.LTS
      ARM_18.1.0.LTS
      MSP430_18.1.0.LTS
      C2000_19.6.0.STS
      ARM_19.6.0.STS
      MSP430_18.12.0.LTS
      MSP430_19.6.0.STS
      ARM_20.2.0.beta
      C2000_18.12.0.LTS
      MSP430_20.2.0.beta
      Show
      C2000_20.2.0.beta C6000_8.2.0 C2000_18.1.0.LTS C6000_8.3.0 ARM_18.12.0.LTS ARM_18.1.0.LTS MSP430_18.1.0.LTS C2000_19.6.0.STS ARM_19.6.0.STS MSP430_18.12.0.LTS MSP430_19.6.0.STS ARM_20.2.0.beta C2000_18.12.0.LTS MSP430_20.2.0.beta
    • Hide
      C2000_20.2.0.beta
      C2000_18.1.7.LTS
      C6000_8.3.4
      ARM_18.12.3.LTS
      MSP430_18.1.7.LTS
      ARM_18.1.7.LTS
      C6000_8.2.8
      ARM_20.2.0.beta
      MSP430_18.12.3.LTS
      C2000_18.12.3.LTS
      MSP430_20.2.0.beta
      Show
      C2000_20.2.0.beta C2000_18.1.7.LTS C6000_8.3.4 ARM_18.12.3.LTS MSP430_18.1.7.LTS ARM_18.1.7.LTS C6000_8.2.8 ARM_20.2.0.beta MSP430_18.12.3.LTS C2000_18.12.3.LTS MSP430_20.2.0.beta
    • default
    • Leaving the sys_pcr.obj file out of the link command works, but it's hard to tell that that's the problem file.
    • Hide
      The profile decoder, armpdd or pdd2000 or pdd430 or pdd6x, may fail when the program on which it is called includes a file whose functions are not included in the link.

      In the test case given, the file sys_pcr.obj contains functions that are not called anywhere and therefore are not included in the .out file. However, due to some quirk that we have not yet isolated, the debug info for sys_pcr.obj *is* included. When the profile decoder collects its data, it uses the debug info to locate it; the faulty extra debug info points to invalid locations, causing the warnings.

      We don't know yet whether the problem is with a single excluded function, more than one, or a whole file whose functions aren't included. What we have done is to make the profile decoder recognise and ignore the bogus debug info.
      Show
      The profile decoder, armpdd or pdd2000 or pdd430 or pdd6x, may fail when the program on which it is called includes a file whose functions are not included in the link. In the test case given, the file sys_pcr.obj contains functions that are not called anywhere and therefore are not included in the .out file. However, due to some quirk that we have not yet isolated, the debug info for sys_pcr.obj *is* included. When the profile decoder collects its data, it uses the debug info to locate it; the faulty extra debug info points to invalid locations, causing the warnings. We don't know yet whether the problem is with a single excluded function, more than one, or a whole file whose functions aren't included. What we have done is to make the profile decoder recognise and ignore the bogus debug info.

      pdd tool fails when program includes unused file

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

              Created:
              Updated:
              Resolved: