diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2013-12-16 12:27:25 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2013-12-16 12:27:25 +0000 |
commit | 654a5af4d0aef2311d7442cc937c7d4b4f4717dc (patch) | |
tree | 3467f3372c1195b1546172d89af2205a50b1866d /lib/sanitizer_common | |
parent | 7f790caa37ec1c9807c877297d30e040e83ed215 (diff) | |
download | compiler-rt-654a5af4d0aef2311d7442cc937c7d4b4f4717dc.tar.gz |
Remove a duplicate declaration which broke the compiler-rt build
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@197381 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common')
-rw-r--r-- | lib/sanitizer_common/sanitizer_stacktrace.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/sanitizer_common/sanitizer_stacktrace.cc b/lib/sanitizer_common/sanitizer_stacktrace.cc index de16becca..70ce26bde 100644 --- a/lib/sanitizer_common/sanitizer_stacktrace.cc +++ b/lib/sanitizer_common/sanitizer_stacktrace.cc @@ -158,14 +158,6 @@ static bool MatchPc(uptr cur_pc, uptr trace_pc, uptr threshold) { return cur_pc - trace_pc <= threshold || trace_pc - cur_pc <= threshold; } -void StackTrace::PopStackFrames(uptr count) { - CHECK(count < size); - size -= count; - for (uptr i = 0; i < size; ++i) { - trace[i] = trace[i + count]; - } -} - uptr StackTrace::LocatePcInTrace(uptr pc) { // Use threshold to find PC in stack trace, as PC we want to unwind from may // slightly differ from return address in the actual unwinded stack trace. |