[llvm-commits] [llvm] r80791 - in /llvm/trunk/test/Analysis/Profiling: edge-profiling.ll profiling-tool-chain.ll

Daniel Dunbar daniel at zuster.org
Thu Sep 3 00:41:23 PDT 2009


Hi Andreas,

On Wed, Sep 2, 2009 at 9:41 AM, Andreas Neustifter<astifter-llvm at gmx.at> wrote:
> Hi!
>
> Daniel Dunbar wrote:
>>
>> Hi Andreas,
>>
>> This test is currently failing on most Darwin platforms with:
>
> Just to be sure, these are not shown at
>  http://google1.osuosl.org:8011/console ? I was trying to do everything
> properly and was watching the buildbots closely...

No problem.

I was a bit surprised too the failure didn't show up, but then I
remembered that the public Darwin buildbot doesn't have an llvm-gcc
configured for it (since it doesn't build llvm-gcc). As a side effect,
it doesn't build libprofile, so it doesn't run the profiling tests.

>> --
>> FAIL:
>> /Users/buildslave/zorg/smooshlab/slaves/clang/build.clang-i386-darwin9/llvm/test/Analysis/Profiling/profiling-tool-chain.ll
>> Failed with exit(1) at line 7
>> while running:  llvm-prof -print-all-code profiling-tool-chain.ll.tmp1
>> | FileCheck --check-prefix=PROF
>>
>> /Users/buildslave/zorg/smooshlab/slaves/clang/build.clang-i386-darwin9/llvm/test/Analysis/Profiling/profiling-tool-chain.ll
>>
>> /Users/buildslave/zorg/smooshlab/slaves/clang/build.clang-i386-darwin9/llvm/test/Analysis/Profiling/profiling-tool-chain.ll:9:10:
>> error: expected string not found in input
>> ; PROF:  1.     2/4 oneblock
>>         ^
>> <stdin>:1:1: note: scanning from here
>>
>> ===-------------------------------------------------------------------------===
>> ^
>> --
>
> Well, its working here (linux_x64) and on the other build bots, so I will
> back it out for now. Can you please mail me the output of
>
> $> llvm-prof -print-all-code profiling-tool-chain.ll.tmp1
>
> in the folder test/Analysis/Profiling/Output? The I can get a feel what
> llvm-prof is spitting out.

I fixed the problem in r80907 (although I think this code could be
clearer), and reapplied the tests. Somehow it took me all day to get
around to this. :/

 - Daniel




More information about the llvm-commits mailing list