Remove the unused m_signal member variable, but leave the code that gets it out of the json.

llvm-svn: 336885
This commit is contained in:
Eric Christopher 2018-07-12 03:52:46 +00:00
parent 4bfb8011f7
commit b860318198
2 changed files with 2 additions and 3 deletions

View File

@ -58,9 +58,9 @@ support::endianness ProcessInfo::GetEndian() const { return m_endian; }
//====== ThreadInfo ============================================================
ThreadInfo::ThreadInfo(StringRef name, StringRef reason, RegisterMap registers,
unsigned int signal)
unsigned int)
: m_name(name.str()), m_reason(reason.str()),
m_registers(std::move(registers)), m_signal(signal) {}
m_registers(std::move(registers)) {}
const RegisterValue *ThreadInfo::ReadRegister(unsigned int Id) const {
auto Iter = m_registers.find(Id);

View File

@ -60,7 +60,6 @@ private:
std::string m_name;
std::string m_reason;
RegisterMap m_registers;
unsigned int m_signal;
};
class JThreadsInfo : public Parser<JThreadsInfo> {