This commit is contained in:
IlushaShurupov 2023-07-16 18:28:24 +03:00 committed by Ilya Shurupov
parent f91b45643d
commit 53aa0e34a8
24 changed files with 116 additions and 110 deletions

View file

@ -208,7 +208,7 @@ void CallStackCapture::printSnapshot(const CallStack* snapshot) {
printf("\n");
}
void CallStackCapture::logLeaks() {
void CallStackCapture::logAll() {
for (auto cs : *this) {
printSnapshot(cs.getCallStack());
}

View file

@ -55,7 +55,7 @@ namespace tp {
const DebugSymbols* getSymbols(FramePointer fp);
static void printSnapshot(const CallStack* snapshot);
void logLeaks();
void logAll();
public:

View file

@ -47,7 +47,7 @@ void root() {
TEST_DEF(Debugging) {
root();
gCSCapture->logLeaks();
gCSCapture->logAll();
}
int main() {