mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2026-01-31 01:35:20 +01:00
[PDB] Add some helper functions for working with scopes.
llvm-svn: 349361
This commit is contained in:
@@ -11,7 +11,9 @@
|
||||
#include "llvm/ADT/iterator_range.h"
|
||||
#include "llvm/DebugInfo/CodeView/CodeView.h"
|
||||
#include "llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h"
|
||||
#include "llvm/DebugInfo/CodeView/SymbolDeserializer.h"
|
||||
#include "llvm/DebugInfo/CodeView/SymbolRecord.h"
|
||||
#include "llvm/DebugInfo/CodeView/SymbolRecordHelpers.h"
|
||||
#include "llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h"
|
||||
#include "llvm/DebugInfo/PDB/Native/RawError.h"
|
||||
#include "llvm/Support/BinaryStreamReader.h"
|
||||
@@ -77,6 +79,11 @@ Error ModuleDebugStreamRef::reload() {
|
||||
return Error::success();
|
||||
}
|
||||
|
||||
const codeview::CVSymbolArray
|
||||
ModuleDebugStreamRef::getSymbolArrayForScope(uint32_t ScopeBegin) const {
|
||||
return limitSymbolArrayToScope(SymbolArray, ScopeBegin);
|
||||
}
|
||||
|
||||
BinarySubstreamRef ModuleDebugStreamRef::getSymbolsSubstream() const {
|
||||
return SymbolsSubstream;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user