1
0
mirror of synced 2025-01-18 17:14:13 +01:00

patterns: Updated pattern language

This commit is contained in:
WerWolv 2023-07-11 09:21:13 +02:00
parent 272b4b0cf8
commit cdc4f2db89
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit c819fff4e76325d14cc4b48411a459a759d8e4b4
Subproject commit ccc22687174ecf27ac3f273131a763575e9a0ec7

View File

@ -116,10 +116,10 @@
static std::vector<StackFrame> result;
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);
for (i32 i = 0; i < count; i++)
for (size_t i = 0; i < count; i++)
result.push_back(StackFrame { "", functions[i], 0 });
return result;