Files
clang-p2996/llvm/test/Transforms/SampleProfile/Inputs/nolocinfo.prof
Diego Novillo c04270d2e4 Fix SamplePGO segfault when debug info is missing.
When emitting a remark for a conditional branch annotation, the remark
uses the line location information of the conditional branch in the
message.  In some cases, that information is unavailable and the
optimization would segfaul. I'm still not sure whether this is a bug or
WAI, but the optimizer should not die because of this.

llvm-svn: 251420
2015-10-27 17:37:00 +00:00

4 lines
33 B
Plaintext

foo:30000:100
2: 28000
3: 1000