[llvm-commits] [compiler-rt] r164773 - in /compiler-rt/trunk/lib/sanitizer_common: sanitizer_stacktrace.cc sanitizer_stacktrace.h
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Thu Sep 27 06:21:08 PDT 2012
Author: eugenis
Date: Thu Sep 27 08:21:08 2012
New Revision: 164773
URL: http://llvm.org/viewvc/llvm-project?rev=164773&view=rev
Log:
Add a missing const qualifier.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc
compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc?rev=164773&r1=164772&r2=164773&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc Thu Sep 27 08:21:08 2012
@@ -36,7 +36,7 @@
return pc - 1;
}
-void StackTrace::PrintStack(uptr *addr, uptr size,
+void StackTrace::PrintStack(const uptr *addr, uptr size,
bool symbolize, const char *strip_file_prefix,
SymbolizeCallback symbolize_callback ) {
MemoryMappingLayout proc_maps;
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.h?rev=164773&r1=164772&r2=164773&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.h Thu Sep 27 08:21:08 2012
@@ -25,7 +25,7 @@
uptr size;
uptr max_size;
uptr trace[kStackTraceMax];
- static void PrintStack(uptr *addr, uptr size,
+ static void PrintStack(const uptr *addr, uptr size,
bool symbolize, const char *strip_file_prefix,
SymbolizeCallback symbolize_callback);
void CopyTo(uptr *dst, uptr dst_size) {
More information about the llvm-commits
mailing list