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:
parent
3f5b3cdbf1
commit
09181f13bd
@ -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
|
||||
|
@ -166,7 +166,7 @@ bool InstrProfiling::runOnModule(Module &M) {
|
||||
}
|
||||
|
||||
if (GlobalVariable *CoverageNamesVar =
|
||||
M.getNamedGlobal(getCoverageNamesVarName())) {
|
||||
M.getNamedGlobal(getCoverageUnusedNamesVarName())) {
|
||||
lowerCoverageData(CoverageNamesVar);
|
||||
MadeChange = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user