[PATCH] InstrProf: support PowerPC64

Duncan P. N. Exon Smith dexonsmith at apple.com
Wed Nov 12 14:20:47 PST 2014


> On 2014-Nov-12, at 13:30, Jay Foad <jay.foad at gmail.com> wrote:
> 
> Hi dexonsmith, kcc,
> 
> I don't know anything about profiling but it seems to work out of the
> box on PowerPC64. At least "make check-profile" works.
> 

Great!  LGTM.

> A few tests needed tweaking because PowerPC64 IR declares main with
> "define signext i32 @main" instead of just "define i32 @main".
> 
> This also fixes the asan asan_and_llvm_coverage_test test, which
> compiles with -coverage so requires that a profiling version of
> libclang_rt has been built.
> 
> http://reviews.llvm.org/D6233
> 
> Files:
>  cmake/config-ix.cmake
>  test/profile/instrprof-without-libc.c
>  test/profile/instrprof-write-file-only.c
>  test/profile/instrprof-write-file.c
> <D6233.16111.patch>





More information about the llvm-commits mailing list