This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
fd52096259
llvm-project
/
llvm
/
test
/
Transforms
/
SampleProfile
/
Inputs
/
bad_fn_header.prof
4 lines
29 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Tolerate unmangled names in sample profiles. Summary: The compiler does not always generate linkage names. If a function has been inlined and its body elided, its linkage name may not be generated. When the binary executes, the profiler will use its unmangled name when attributing samples. This results in unmangled names in the input profile. We are currently failing hard when this happens. However, in this case all that happens is that we fail to attribute samples to the inlined function. While this means fewer optimization opportunities, it should not cause a compilation failure. This patch accepts all valid function names, regardless of whether they were mangled or not. Reviewers: chandlerc CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D3087 llvm-svn: 204142
2014-03-18 20:03:12 +08:00
3empty:100:BAD
http://reviews.llvm.org/D13145 Support hierarachical sample profile format. llvm-svn: 248865
2015-09-30 08:42:46 +08:00
0: 0
1: 100