forked from OSchip/llvm-project
parent
f7f616ba66
commit
cb9cf0f907
|
@ -36,7 +36,7 @@ static uptr patch_pc(uptr pc) {
|
||||||
return pc - 1;
|
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,
|
bool symbolize, const char *strip_file_prefix,
|
||||||
SymbolizeCallback symbolize_callback ) {
|
SymbolizeCallback symbolize_callback ) {
|
||||||
MemoryMappingLayout proc_maps;
|
MemoryMappingLayout proc_maps;
|
||||||
|
|
|
@ -25,7 +25,7 @@ struct StackTrace {
|
||||||
uptr size;
|
uptr size;
|
||||||
uptr max_size;
|
uptr max_size;
|
||||||
uptr trace[kStackTraceMax];
|
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,
|
bool symbolize, const char *strip_file_prefix,
|
||||||
SymbolizeCallback symbolize_callback);
|
SymbolizeCallback symbolize_callback);
|
||||||
void CopyTo(uptr *dst, uptr dst_size) {
|
void CopyTo(uptr *dst, uptr dst_size) {
|
||||||
|
|
Loading…
Reference in New Issue