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

Use of C++ lambda causes Dwarf debug information to be incorrect, and prevents debugging the code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-6757
    • Hide
      C6000_8.2.0
      C6000_8.3.0
      ARM_18.12.0.LTS
      ARM_18.1.2.LTS
      MSP430_18.12.0.LTS
      ARM_20.2.0.beta
      MSP430_20.2.0.beta
      C7000_1.2.0.STS
      MSP430_18.1.2.LTS
      Show
      C6000_8.2.0 C6000_8.3.0 ARM_18.12.0.LTS ARM_18.1.2.LTS MSP430_18.12.0.LTS ARM_20.2.0.beta MSP430_20.2.0.beta C7000_1.2.0.STS MSP430_18.1.2.LTS
    • Hide
      ARM_18.12.5.LTS
      C6000_8.2.9*
      ARM_18.1.8.LTS*
      C6000_8.3.6
      ARM_20.2.0.beta
      MSP430_20.2.0.beta
      MSP430_18.12.5.LTS
      MSP430_18.1.8.LTS*
      Show
      ARM_18.12.5.LTS C6000_8.2.9* ARM_18.1.8.LTS* C6000_8.3.6 ARM_20.2.0.beta MSP430_20.2.0.beta MSP430_18.12.5.LTS MSP430_18.1.8.LTS*
    • default
    • Define the lambda outside the function, or don't use one. The problem is with nested functions.
    • Hide
      If a C++ function has a lambda or other function defined inside it, the compiler may not produce adequate debug information to allow debugging either the outer function or any of the inner functions. The code is still correct, and the debugging information is correct but incomplete.
      Show
      If a C++ function has a lambda or other function defined inside it, the compiler may not produce adequate debug information to allow debugging either the outer function or any of the inner functions. The code is still correct, and the debugging information is correct but incomplete.

      Use of C++ lambda causes Dwarf debug information to be incorrect, and prevents debugging the code

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

              Created:
              Updated:
              Resolved: