[EXT_EP-10085] Code coverage symbols not defined when profile counter section manually placed Created: 22/Oct/20 Updated: 30/Nov/22 Resolved: 30/Nov/22 |
|
Status: | Fixed |
Project: | Embedded Software & Tools |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Medium |
Reporter: | TI User | Assignee: | TI User |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Product: | Code Generation Tools |
Internal ID: | CODEGEN-8216 |
Found In Release: | ARMCLANG_2.1.0.LTS ARMCLANG_1.3.0.LTS ARMCLANG_2.1.2.LTS |
Fix In Release: | ARMCLANG_1.3.2.LTS* ARMCLANG_2.1.3.LTS* |
Affected Platform/Device: | default |
Workaround: | The workaround is that the client either shouldn’t explicitly place the section, or if it does, the symbols should also be explicitly defined based on the section location. If users don't explicitly place the section, the linker will place it based on the location of the .bss section.
|
Description |
In looking at the linker, it appears that if the _llvm_prf_cnts section is explicitly placed by the linker command file, then the “start_llvm_prf_cnts" and "stop__llvm_prf_cnts" symbols are not created. |