summaryrefslogtreecommitdiff
path: root/lib/msan/msan_report.cc
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-06-27 07:32:08 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-06-27 07:32:08 +0000
commit0323e5710b754836c63c1bd04761a8919a02bba0 (patch)
tree41bb502fdd489477348ec8ea78f8cb3cd934a7b9 /lib/msan/msan_report.cc
parent406832e9fbfb91a9a5cd99afabdef1e7b4167307 (diff)
[msan] Fix truncated stack trace in chained origin reports.
This is a leftover from the times when the next (chained) origin id was stored as the last frame of a stack trace. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan_report.cc')
-rw-r--r--lib/msan/msan_report.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msan/msan_report.cc b/lib/msan/msan_report.cc
index 566034c66..85e61e214 100644
--- a/lib/msan/msan_report.cc
+++ b/lib/msan/msan_report.cc
@@ -90,7 +90,7 @@ static void DescribeOrigin(u32 id) {
// FIXME: copied? modified? passed through? observed?
Printf(" %sUninitialized value was stored to memory at%s\n", d.Origin(),
d.End());
- StackTrace::PrintStack(trace, size - 1);
+ StackTrace::PrintStack(trace, size);
id = prev_id;
}
}