[PGO] Eliminate prof data register calls on FreeBSD platform
authorXinliang David Li <davidxl@google.com>
Mon, 19 Oct 2015 04:17:10 +0000 (04:17 +0000)
committerXinliang David Li <davidxl@google.com>
Mon, 19 Oct 2015 04:17:10 +0000 (04:17 +0000)
commit0971eb7364bde89cacbfceebad94a66a638c5046
treec7305766525d914e66a3a1c9fee16f464b8e11e7
parenta05c4c2bcae124d12f4e0ddaa6dce240e552463b
[PGO] Eliminate prof data register calls on FreeBSD platform

This is a follow up patch of r250199 after verifying the start/stop
section symbols work as spected on FreeBSD.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250679 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/InstrProfiling.cpp
test/Instrumentation/InstrProfiling/platform.ll