1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

Function name change /NFC

llvm-svn: 258260
This commit is contained in:
Xinliang David Li 2016-01-20 00:24:36 +00:00
parent 3f5b3cdbf1
commit 09181f13bd
2 changed files with 5 additions and 3 deletions

View File

@ -91,10 +91,12 @@ inline StringRef getCoverageMappingVarName() {
}
/// Return the name of the internal variable recording the array
/// of PGO name vars referenced by the coverage mapping, The owning
/// of PGO name vars referenced by the coverage mapping. The owning
/// functions of those names are not emitted by FE (e.g, unused inline
/// functions.)
inline StringRef getCoverageNamesVarName() { return "__llvm_coverage_names"; }
inline StringRef getCoverageUnusedNamesVarName() {
return "__llvm_coverage_names";
}
/// Return the name of function that registers all the per-function control
/// data at program startup time by calling __llvm_register_function. This

View File

@ -166,7 +166,7 @@ bool InstrProfiling::runOnModule(Module &M) {
}
if (GlobalVariable *CoverageNamesVar =
M.getNamedGlobal(getCoverageNamesVarName())) {
M.getNamedGlobal(getCoverageUnusedNamesVarName())) {
lowerCoverageData(CoverageNamesVar);
MadeChange = true;
}