[PATCH] InstrProf: Add initial compiler-rt test
kcc at google.com
Thu Mar 27 21:21:20 PDT 2014
On Fri, Mar 28, 2014 at 3:39 AM, Duncan P. N. Exon Smith <
dexonsmith at apple.com> wrote:
> This patch adds the infrastructure for compiler-rt tests for instrumented
> It also adds a single very simple test.
> I’m a little lost with lit and cmake; could someone who knows better have
> a look to
> make sure I have the right magic?
> I copied and modified the logic from the test/asan/ directory.
> There are two things that don’t (or probably don’t) work.
> 1. You cannot call:
> $ cd llvm/projects/compiler-rt
> $ path/to/llvm-lit test/profile
> The other compiler-rt tests seem to have the same defect, and I’m not
> sure how
> to fix it.
> Nevertheless, using cmake+ninja, you can call:
> $ ninja check-profile
> 2. I didn’t do anything with configure+make, since the other tests in
> didn’t have a model I could copy. So the tests probably aren’t
> Thanks for any pointers!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits