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

Compiler computes wrong offset for structure member, causing CCS to display it incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-6866
    • Hide
      PRU_2.2.0
       C6000_8.2.0
       C6000_8.1.0B1
       PRU_2.1.0
      Show
      PRU_2.2.0  C6000_8.2.0  C6000_8.1.0B1  PRU_2.1.0
    • Hide
      C6000_8.2.9*
       ARM_18.12.5.LTS
       ARM_18.1.8.LTS*
      Show
      C6000_8.2.9*  ARM_18.12.5.LTS  ARM_18.1.8.LTS*
    • Rearranging the members of the struct so that the largest members come last might keep the offsets of all members below 16MiB. Alternatively, compile without DWARF information.
    • For very large structs with any member where offsetof(struct,member)>=16MiB, the DWARF information would incorrectly sign-extend the value in the DW_AT_data_member_location attribute.

      Compiler computes wrong offset for structure member, causing CCS to display it incorrectly

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

              Created:
              Updated:
              Resolved: