llvm-6502/test/Transforms/SampleProfile/Inputs
Diego Novillo c605296342 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204142 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-18 12:03:12 +00:00
..
bad_discriminator_value.prof Use discriminator information in sample profiles. 2014-03-10 22:41:28 +00:00
bad_fn_header.prof Tolerate unmangled names in sample profiles. 2014-03-18 12:03:12 +00:00
bad_line_values.prof Use discriminator information in sample profiles. 2014-03-10 22:41:28 +00:00
bad_mangle.prof Tolerate unmangled names in sample profiles. 2014-03-18 12:03:12 +00:00
bad_sample_line.prof Extend and simplify the sample profile input file. 2014-01-10 23:23:51 +00:00
bad_samples.prof Use discriminator information in sample profiles. 2014-03-10 22:41:28 +00:00
branch.prof Extend and simplify the sample profile input file. 2014-01-10 23:23:51 +00:00
calls.prof Use discriminator information in sample profiles. 2014-03-10 22:41:28 +00:00
discriminator.prof Use discriminator information in sample profiles. 2014-03-10 22:41:28 +00:00
propagate.prof Extend and simplify the sample profile input file. 2014-01-10 23:23:51 +00:00
syntax.prof Extend and simplify the sample profile input file. 2014-01-10 23:23:51 +00:00