aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
diff options
context:
space:
mode:
authorRong Xu <xur@google.com>2019-01-07 23:25:56 +0000
committerRong Xu <xur@google.com>2019-01-07 23:25:56 +0000
commit6f366c3a040e3bdc6756d455b0b82996cd5822ef (patch)
tree8866195a9e78c6ed87df325942ad8544e2286073 /llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
parentbf1fdb852f936ca7c8493c063d6f14ae552fb86f (diff)
downloadllvm-6f366c3a040e3bdc6756d455b0b82996cd5822ef.zip
llvm-6f366c3a040e3bdc6756d455b0b82996cd5822ef.tar.gz
llvm-6f366c3a040e3bdc6756d455b0b82996cd5822ef.tar.bz2
[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. llvm-svn: 350579
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp')
0 files changed, 0 insertions, 0 deletions