commit | faf2047349739b486946a054eb1cc7c9da36a7c0 | [log] [tgz] |
---|---|---|
author | Rong Xu <xur@google.com> | Fri Jan 04 22:54:03 2019 +0000 |
committer | Rong Xu <xur@google.com> | Fri Jan 04 22:54:03 2019 +0000 |
tree | 0b26e8b307c22cd78482c43eb0981232ca9b0056 | |
parent | 0e2aef924e02d00a4d3454d63c1921a243d316c6 [diff] |
[PGO] Use SourceFileName rather module name in PGOFuncName In LTO or Thin-lto mode (though linker plugin), the module names are of temp file names which are different for different compilations. Using SourceFileName avoids the issue. This should not change any functionality for current PGO as all the current callers of getPGOFuncName() is before LTO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350442 91177308-0d34-0410-b5e6-96231b3b80d8