Move static `SymbolReaderDllName` and `SymbolReaderClassName` out of the header
authorAndrey Okoshkin <a.okoshkin@samsung.com>
Fri, 9 Feb 2018 14:00:36 +0000 (17:00 +0300)
committerAndrey Okoshkin <a.okoshkin@samsung.com>
Fri, 23 Mar 2018 13:49:18 +0000 (16:49 +0300)
src/debug/netcoredbg/symbolreader.cpp
src/debug/netcoredbg/symbolreader.h

index dc8dcaed9c5e0b1b9c66561bdc61733ae730d58e..71c1c84a9947b6b99cae38c3e1460f1e0b030c90 100644 (file)
@@ -13,6 +13,9 @@
 #include "cputil.h"
 
 
+static const char *SymbolReaderDllName = "SymbolReader";
+static const char *SymbolReaderClassName = "SOS.SymbolReader";
+
 // Suppress undefined reference
 // `_invalid_parameter(char16_t const*, char16_t const*, char16_t const*, unsigned int, unsigned long)':
 //      /coreclr/src/pal/inc/rt/safecrt.h:386: undefined reference to `RaiseException'
index bbdab9728cdb1039df4481e0eff6a68eec9e8d39..bb76f3589bb1de50c41626ca040331a52580ac65 100644 (file)
@@ -14,8 +14,6 @@
 /// FIXME: Definition of `TADDR`
 #include "torelease.h"
 
-static const char *SymbolReaderDllName = "SymbolReader";
-static const char *SymbolReaderClassName = "SOS.SymbolReader";
 
 typedef  int (*ReadMemoryDelegate)(ULONG64, char *, int);
 typedef  PVOID (*LoadSymbolsForModuleDelegate)(const char*, BOOL, ULONG64, int, ULONG64, int, ReadMemoryDelegate);