[PATCH] InstrProf: Add initial compiler-rt test

Kostya Serebryany kcc at google.com
Thu Mar 27 21:21:20 PDT 2014


+samsonov


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
> profiling.
> 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
> compiler-rt
>     didn’t have a model I could copy.  So the tests probably aren’t
> registered
>     there.
>
> Thanks for any pointers!
>
> Duncan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140328/39022670/attachment.html>


More information about the llvm-commits mailing list