search for: registerruntime

Displaying 2 results from an estimated 2 matches for "registerruntime".

2018 Mar 13
1
Profiling Support for BareMetal Target
...gt;= 0 account for 99.9 percentage of the total counts. 0 blocks with count >= 0 account for 99.99 percentage of the total counts. 0 blocks with count >= 0 account for 99.999 percentage of the total counts. I am not sure what is wrong. In the profiling library i see many entry points. I used RegisterRuntime constructor to decide on the functions, that i mentioned above, to be called in the startup routine . I am right in that ? Any idea as to what i am doing wrong ? Regards, Shafi
2017 Sep 11
2
Using source-based code coverage on baremetal
I think that this proposal would be very useful, and I will describe our experiences of trying to do this for our embedded bare-metal target. Recently we implemented support for just the '-fprofile-instr-generate' option and the 'compiler-rt/lib/profile' sources, and added the following to our LD scripts: /* Append the LLVM profiling sections */ . = ALIGN(4);