]> granicus.if.org Git - clang/commit
InstrProf: Use LLVM's -instrprof pass for profiling
authorJustin Bogner <mail@justinbogner.com>
Mon, 8 Dec 2014 19:04:51 +0000 (19:04 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 8 Dec 2014 19:04:51 +0000 (19:04 +0000)
commitbb794d1419a75650dc9ddb16d02fa96eb6125f81
treefbd28d4438f1276335eab8f49f476948b818f02b
parent66e56fc2fdc11dbb2460b1e1d8694b03386ac710
InstrProf: Use LLVM's -instrprof pass for profiling

The logic for lowering profiling counters has been moved to an LLVM
pass. Emit the intrinsics rather than duplicating the whole pass in
clang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223683 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CGStmt.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenPGO.cpp
lib/CodeGen/CodeGenPGO.h
test/Profile/c-linkage-available_externally.c
test/Profile/c-linkage.c
test/Profile/cxx-linkage.cpp