diff options
author | Robert Lougher <rob.lougher@gmail.com> | 2016-10-26 17:01:47 +0000 |
---|---|---|
committer | Robert Lougher <rob.lougher@gmail.com> | 2016-10-26 17:01:47 +0000 |
commit | 660f2f9560c9a026da4183c99de2ca135fdccc84 (patch) | |
tree | b4c8cb14291762fb22e7c986bb7fb74bd53a6dd4 /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | e59a0bcf54cacf19c6dca02e9c414d7e4d002ded (diff) | |
download | llvm-660f2f9560c9a026da4183c99de2ca135fdccc84.zip llvm-660f2f9560c9a026da4183c99de2ca135fdccc84.tar.gz llvm-660f2f9560c9a026da4183c99de2ca135fdccc84.tar.bz2 |
Reapply: "Remove debug location from common tail when tail-merging"
This reapplies revision 285093. Original commit message:
The branch folding pass tail merges blocks into a common-tail. However, the
tail retains the debug information from one of the original inputs to the
merge (chosen randomly). This is a problem for sampled-based PGO, as hits
on the common-tail will be attributed to whichever block was chosen,
irrespective of which path was actually taken to the common-tail.
This patch fixes the issue by nulling the debug location for the common-tail.
Differential Revision: https://reviews.llvm.org/D25742
llvm-svn: 285212
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
0 files changed, 0 insertions, 0 deletions