[llvm-branch-commits] [compiler-rt-branch] r197381 - Remove a duplicate declaration which broke the compiler-rt build
Sylvestre Ledru
sylvestre at debian.org
Mon Dec 16 04:27:25 PST 2013
Author: sylvestre
Date: Mon Dec 16 06:27:25 2013
New Revision: 197381
URL: http://llvm.org/viewvc/llvm-project?rev=197381&view=rev
Log:
Remove a duplicate declaration which broke the compiler-rt build
Modified:
compiler-rt/branches/release_34/lib/sanitizer_common/sanitizer_stacktrace.cc
Modified: compiler-rt/branches/release_34/lib/sanitizer_common/sanitizer_stacktrace.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/branches/release_34/lib/sanitizer_common/sanitizer_stacktrace.cc?rev=197381&r1=197380&r2=197381&view=diff
==============================================================================
--- compiler-rt/branches/release_34/lib/sanitizer_common/sanitizer_stacktrace.cc (original)
+++ compiler-rt/branches/release_34/lib/sanitizer_common/sanitizer_stacktrace.cc Mon Dec 16 06:27:25 2013
@@ -158,14 +158,6 @@ static bool MatchPc(uptr cur_pc, uptr tr
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.
More information about the llvm-branch-commits
mailing list