mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
Bug 1196430 follow-up: Hide the usage of gCodeAddressService behind #ifdef MOZ_STACKWALKING
This is needed to fix the build bustage on B2G Desktop Windows. Landed on a CLOSED TREE
This commit is contained in:
parent
c504a1ac28
commit
97be810099
@ -480,6 +480,7 @@ DumpSerialNumbers(PLHashEntry* aHashEntry, int aIndex, void* aClosure)
|
||||
NS_INT32_TO_PTR(aHashEntry->key),
|
||||
record->refCount);
|
||||
#endif
|
||||
#ifdef MOZ_STACKWALKING
|
||||
if (!record->allocationStack.empty()) {
|
||||
static const size_t bufLen = 1024;
|
||||
char buf[bufLen];
|
||||
@ -492,6 +493,7 @@ DumpSerialNumbers(PLHashEntry* aHashEntry, int aIndex, void* aClosure)
|
||||
fprintf(outputFile, "%s\n", buf);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return HT_ENUMERATE_NEXT;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user