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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • Code Generation Tools
    • CODEGEN-6757
    • Hide
      C6000_8.2.0
      C6000_8.3.0
      C6000_8.5.0.LTS
      ARM_18.12.0.LTS
      ARM_18.1.2.LTS
      C7000_2.0.0.STS
      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 C6000_8.5.0.LTS ARM_18.12.0.LTS ARM_18.1.2.LTS C7000_2.0.0.STS 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.5.0.LTS
      ARM_18.1.8.LTS
      MSP430_18.1.8.LTS
      C7000_2.0.0.STS
      C6000_8.3.6
      ARM_20.2.0.beta
      C6000_8.2.9
      MSP430_20.2.0.beta
      MSP430_18.12.5.LTS
      Show
      ARM_18.12.5.LTS C6000_8.5.0.LTS ARM_18.1.8.LTS MSP430_18.1.8.LTS C7000_2.0.0.STS C6000_8.3.6 ARM_20.2.0.beta C6000_8.2.9 MSP430_20.2.0.beta MSP430_18.12.5.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

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

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-2031 - Use of C++ lambda causes Dwarf debu...
                SYNCHRONIZED
                • Last Sync Date: