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)
commit83bc4220ce99b23ec237e04e73c1010e481ac311
tree78a5ec968768265ca29c42846ac430528659847f
parente0675fb8fbc78bd1e60bab0c1fac711eab96ab6e
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

llvm-svn: 251058
llvm/include/llvm/ProfileData/InstrProf.h
llvm/lib/ProfileData/CoverageMappingReader.cpp
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp