]> granicus.if.org Git - clang/commit
PGO: Rename variables to avoid referring to the "MangledName" of a function.
authorBob Wilson <bob.wilson@apple.com>
Thu, 6 Mar 2014 04:55:37 +0000 (04:55 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 6 Mar 2014 04:55:37 +0000 (04:55 +0000)
commit467db6f5992514a4db2c9980407f22c394a36c57
treeda8ada64faf486340188209ce2c21ad63f8a8fb5
parent83717113c57b1f9f7be295b007d60b44ac13f404
PGO: Rename variables to avoid referring to the "MangledName" of a function.

For C++ functions, we will continue to use the mangled name to identify
functions in the PGO profile data, but this name is confusing for things like
Objective-C methods. For functions with local linkage, we're also going to
include the file name to help distinguish those functions, so this changes to
use more generic variable names.

No functional changes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203074 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenPGO.cpp
lib/CodeGen/CodeGenPGO.h