search for: libclangrt_profile

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

2017 Sep 06
5
Using source-based code coverage on baremetal
...on is based on work done together with my colleague Weiming Zhao. By "baremetal" here, I mean an embedded environment without an operating system.  We specifically used a ARM target with semihosting, but similar steps should work elsewhere. The workflow: 1. First, you need a copy of libclangrt_profile.a, stripped down for the baremetal target.  (More on this below.) 2. Then, you need to change the source code to call into it; since a baremetal image doesn't exit like an operating system process, you need to insert code somewhere to write out the profile data yourself.  We used __llvm_pr...
2017 Sep 11
2
Using source-based code coverage on baremetal
...mar <vsk at apple.com>; weimingz at codeaurora.org; llvm-dev <llvm-dev at lists.llvm.org> Subject: Re: [llvm-dev] Using source-based code coverage on baremetal On 9/5/17 7:55 PM, Friedman, Eli via llvm-dev wrote: > > Areas that required LLVM changes: > > 1. The copy of libclangrt_profile.a for the target. Given that we > already were using builtins from compiler-rt, the primary changes > required are enabling the profile library and excluding a bunch of > files from the build (since baremetal doesn't have a filesystem, > system calls, etc.). I'll look into...