patterns: Updated pattern language
This commit is contained in:
parent
272b4b0cf8
commit
cdc4f2db89
2
lib/external/pattern_language
vendored
2
lib/external/pattern_language
vendored
@ -1 +1 @@
|
|||||||
Subproject commit c819fff4e76325d14cc4b48411a459a759d8e4b4
|
Subproject commit ccc22687174ecf27ac3f273131a763575e9a0ec7
|
@ -116,10 +116,10 @@
|
|||||||
static std::vector<StackFrame> result;
|
static std::vector<StackFrame> result;
|
||||||
|
|
||||||
std::array<void*, 128> addresses;
|
std::array<void*, 128> addresses;
|
||||||
auto count = backtrace(addresses.data(), addresses.size());
|
size_t count = backtrace(addresses.data(), addresses.size());
|
||||||
auto functions = backtrace_symbols(addresses.data(), count);
|
auto functions = backtrace_symbols(addresses.data(), count);
|
||||||
|
|
||||||
for (i32 i = 0; i < count; i++)
|
for (size_t i = 0; i < count; i++)
|
||||||
result.push_back(StackFrame { "", functions[i], 0 });
|
result.push_back(StackFrame { "", functions[i], 0 });
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user