From 745243b48674eb02984c15dcbcb15854eacd1c81 Mon Sep 17 00:00:00 2001 From: Glenn Glazer Date: Thu, 27 Jul 2017 11:17:15 -0700 Subject: MAINT-7643: add viewer bitness to crash log output, forked from V64 --- indra/newview/llappviewer.cpp | 1 + indra/newview/llversioninfo.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 5a0cdd4f1a..251c5eb4b1 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -3343,6 +3343,7 @@ void LLAppViewer::writeSystemInfo() gDebugInfo["ClientInfo"]["MinorVersion"] = LLVersionInfo::getMinor(); gDebugInfo["ClientInfo"]["PatchVersion"] = LLVersionInfo::getPatch(); gDebugInfo["ClientInfo"]["BuildVersion"] = LLVersionInfo::getBuild(); + gDebugInfo["ClientInfo"]["AddressSize"] = LLVersionInfo::getAddressSize(); gDebugInfo["CAFilename"] = gDirUtilp->getCAFile(); diff --git a/indra/newview/llversioninfo.h b/indra/newview/llversioninfo.h index ec599c0cda..99f6c8e87f 100644 --- a/indra/newview/llversioninfo.h +++ b/indra/newview/llversioninfo.h @@ -72,6 +72,9 @@ public: /// reset the channel name used by the viewer. static void resetChannel(const std::string& channel); + /// return the bit width of an address + static const U32 getAddressSize() { return ADDRESS_SIZE; } + typedef enum { TEST_VIEWER, -- cgit v1.2.3