commit | bf0230910cf238c928753bc3815f603d933464fd | [log] [tgz] |
---|---|---|
author | Rong Xu <xur@google.com> | Mon Jan 07 23:25:56 2019 +0000 |
committer | Rong Xu <xur@google.com> | Mon Jan 07 23:25:56 2019 +0000 |
tree | c348fb1c1cf0fb55fc2ecc5efd27d27357d34eb0 | |
parent | 639e1eaac48b944121cd16226fd447c014d9e36f [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@350579 91177308-0d34-0410-b5e6-96231b3b80d8