// Corkscrew and libunwind don't compile on the mac, so create a generic // map object. BacktraceMap* BacktraceMap::Create(pid_t pid, bool uncached) { BacktraceMap* map = new BacktraceMap(pid); if (!map->Build()) { delete map; return NULL; } return map; }
// Corkscrew and libunwind don't compile on the mac, so create a generic // map object. BacktraceMap* BacktraceMap::Create(pid_t pid, bool /*uncached*/) { BacktraceMap* map = new BacktraceMap(pid); if (!map->Build()) { delete map; return nullptr; } return map; }