[PATCH] InstrProf: support PowerPC64
Jay Foad
jay.foad at gmail.com
Wed Nov 12 13:30:28 PST 2014
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.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6233.16111.patch
Type: text/x-patch
Size: 2853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141112/486b9f1a/attachment.bin>
More information about the llvm-commits
mailing list