mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Remove unused DXBC::IDebugInfo::HasSourceMapping()
Never called from anywhere, not implemented for DXIL
This commit is contained in:
@@ -516,7 +516,6 @@ public:
|
||||
virtual void GetCallstack(size_t instruction, uintptr_t offset,
|
||||
rdcarray<rdcstr> &callstack) const = 0;
|
||||
|
||||
virtual bool HasSourceMapping() const = 0;
|
||||
virtual void GetLocals(const DXBC::DXBCContainer *dxbc, size_t instruction, uintptr_t offset,
|
||||
rdcarray<SourceVariableMapping> &locals) const = 0;
|
||||
|
||||
|
||||
@@ -123,11 +123,6 @@ void SDBGChunk::GetCallstack(size_t instruction, uintptr_t offset, rdcarray<rdcs
|
||||
}
|
||||
}
|
||||
|
||||
bool SDBGChunk::HasSourceMapping() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void SDBGChunk::GetLocals(const DXBC::DXBCContainer *dxbc, size_t instruction, uintptr_t offset,
|
||||
rdcarray<SourceVariableMapping> &locals) const
|
||||
{
|
||||
|
||||
@@ -249,7 +249,6 @@ public:
|
||||
void GetLineInfo(size_t instruction, uintptr_t offset, LineColumnInfo &lineInfo) const;
|
||||
void GetCallstack(size_t instruction, uintptr_t offset, rdcarray<rdcstr> &callstack) const;
|
||||
|
||||
bool HasSourceMapping() const;
|
||||
void GetLocals(const DXBC::DXBCContainer *dxbc, size_t instruction, uintptr_t offset,
|
||||
rdcarray<SourceVariableMapping> &locals) const;
|
||||
|
||||
|
||||
@@ -2329,11 +2329,6 @@ void SPDBChunk::GetCallstack(size_t, uintptr_t offset, rdcarray<rdcstr> &callsta
|
||||
callstack = it->second.callstack;
|
||||
}
|
||||
|
||||
bool SPDBChunk::HasSourceMapping() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void SPDBChunk::GetLocals(const DXBC::DXBCContainer *dxbc, size_t, uintptr_t offset,
|
||||
rdcarray<SourceVariableMapping> &locals) const
|
||||
{
|
||||
|
||||
@@ -305,7 +305,6 @@ public:
|
||||
void GetLineInfo(size_t instruction, uintptr_t offset, LineColumnInfo &lineInfo) const;
|
||||
void GetCallstack(size_t instruction, uintptr_t offset, rdcarray<rdcstr> &callstack) const;
|
||||
|
||||
bool HasSourceMapping() const;
|
||||
void GetLocals(const DXBC::DXBCContainer *dxbc, size_t instruction, uintptr_t offset,
|
||||
rdcarray<SourceVariableMapping> &locals) const;
|
||||
|
||||
|
||||
@@ -1675,7 +1675,6 @@ public:
|
||||
void GetLineInfo(size_t instruction, uintptr_t offset, LineColumnInfo &lineInfo) const override;
|
||||
void GetCallstack(size_t instruction, uintptr_t offset, rdcarray<rdcstr> &callstack) const override;
|
||||
|
||||
bool HasSourceMapping() const override;
|
||||
void GetLocals(const DXBC::DXBCContainer *dxbc, size_t instruction, uintptr_t offset,
|
||||
rdcarray<SourceVariableMapping> &locals) const override;
|
||||
// IDebugInfo interface
|
||||
|
||||
@@ -2111,12 +2111,6 @@ void Program::GetCallstack(size_t instruction, uintptr_t offset, rdcarray<rdcstr
|
||||
callstack.clear();
|
||||
}
|
||||
|
||||
bool Program::HasSourceMapping() const
|
||||
{
|
||||
// not yet implemented and only relevant for debugging
|
||||
return false;
|
||||
}
|
||||
|
||||
void Program::GetLocals(const DXBC::DXBCContainer *dxbc, size_t instruction, uintptr_t offset,
|
||||
rdcarray<SourceVariableMapping> &locals) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user