Add helper functions and remove hard coded references to instProf related name/name...
authorXinliang David Li <davidxl@google.com>
Thu, 22 Oct 2015 20:32:12 +0000 (20:32 +0000)
committerXinliang David Li <davidxl@google.com>
Thu, 22 Oct 2015 20:32:12 +0000 (20:32 +0000)
commitc417afc0987687af79a1f47a292a940c49f86dec
tree4b84e55d9caf5c0b177e20e6a0a5c27810403e05
parente6a5192692bb99878f8902b9f75644a13d57a633
Add helper functions and remove hard coded references to instProf related name/name-prefixes

This is a clean up patch that defines instr prof section and variable
name prefixes in a common header with access helper functions.
clang FE change will be done as a follow up once this patch is in.

Differential Revision: http://reviews.llvm.org/D13919

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251058 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ProfileData/InstrProf.h
lib/ProfileData/CoverageMappingReader.cpp
lib/Transforms/Instrumentation/InstrProfiling.cpp