Skip to content

Commit

Permalink
update as per comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaomaosu committed Sep 25, 2024
1 parent 6f67b1c commit e36e1b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/loader/layers/sanitizer/linux/backtrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
namespace ur_sanitizer_layer {

StackTrace GetCurrentBacktrace() {
void *Frames[MAX_BACKTRACE_FRAMES];
BacktraceFrame Frames[MAX_BACKTRACE_FRAMES];
int FrameCount = backtrace(Frames, MAX_BACKTRACE_FRAMES);

StackTrace Stack;
Expand Down
2 changes: 1 addition & 1 deletion source/loader/layers/sanitizer/stacktrace.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

namespace ur_sanitizer_layer {

constexpr size_t MAX_BACKTRACE_FRAMES = 48;
constexpr size_t MAX_BACKTRACE_FRAMES = 64;

struct StackTrace {
std::vector<BacktraceFrame> stack;
Expand Down

0 comments on commit e36e1b6

Please sign in to comment.