[llvm-branch-commits] [compiler-rt-branch] r197381 - Remove a duplicate declaration which broke the compiler-rt build

Bill Wendling kinderschwein at gmail.com
Mon Dec 16 11:51:49 PST 2013


Thank you!

-bw

On Dec 16, 2013, at 4:27 AM, Sylvestre Ledru <sylvestre at debian.org> wrote:

> 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.
> 
> 
> _______________________________________________
> llvm-branch-commits mailing list
> llvm-branch-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-branch-commits





More information about the llvm-branch-commits mailing list