summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.h')
-rw-r--r--lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.h b/lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.h
index 55dfbe620e1..6a5797c68a0 100644
--- a/lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.h
+++ b/lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.h
@@ -19,9 +19,17 @@
#include <tuple>
#include <utility>
+namespace llvm {
+namespace pdb {
+class TpiStream;
+}
+} // namespace llvm
+
namespace lldb_private {
namespace npdb {
+struct PdbTypeSymId;
+
struct CVTagRecord {
enum Kind { Class, Struct, Union, Enum };
@@ -101,6 +109,9 @@ inline bool IsValidRecord(const llvm::codeview::ProcRefSym &sym) {
bool IsForwardRefUdt(llvm::codeview::CVType cvt);
bool IsTagRecord(llvm::codeview::CVType cvt);
+bool IsForwardRefUdt(const PdbTypeSymId &id, llvm::pdb::TpiStream &tpi);
+bool IsTagRecord(const PdbTypeSymId &id, llvm::pdb::TpiStream &tpi);
+
lldb::AccessType TranslateMemberAccess(llvm::codeview::MemberAccess access);
llvm::codeview::TypeIndex GetFieldListIndex(llvm::codeview::CVType cvt);
llvm::codeview::TypeIndex
OpenPOWER on IntegriCloud