search for: compiler_rt_baremetal_build

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

2017 Sep 06
5
Using source-based code coverage on baremetal
...aremetal doesn't have a filesystem, system calls, etc.).  I'll look into posting patches when I have time, but it might take me a little while for me to figure out how to cleanly modify the build, and verify everything actually works on trunk.  It looks like there's a CMake variable COMPILER_RT_BAREMETAL_BUILD which is supposed to be turned on for this sort of environment? 2. Changing the compiler and compiler-rt to use __start and __end symbols to find the sections, rather than .init code.  This isn't strictly necessary, but our linker supports __start and __end, and this was easier than changi...
2017 Sep 11
2
Using source-based code coverage on baremetal
...a filesystem, > system calls, etc.). I'll look into posting patches when I have time, > but it might take me a little while for me to figure out how to > cleanly modify the build, and verify everything actually works on > trunk. It looks like there's a CMake variable > COMPILER_RT_BAREMETAL_BUILD which is supposed to be turned on for this sort of environment? Yes, that's exactly what that variable is for. See also: clang/cmake/caches/BaremetalARM.cmake. I haven't taught this how to do the rest of the runtime bits (unwinder/libcxxabi/libcxx), but plan to at some point. > >...