Subversion Repositories QNX 8.QNX8 LLVM/Clang compiler suite

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. //===- PDBSymbolBlock.h - Accessors for querying PDB blocks -------------*-===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLBLOCK_H
  9. #define LLVM_DEBUGINFO_PDB_PDBSYMBOLBLOCK_H
  10.  
  11. #include "PDBSymbol.h"
  12. #include "PDBTypes.h"
  13.  
  14. namespace llvm {
  15.  
  16. namespace pdb {
  17.  
  18. class PDBSymbolBlock : public PDBSymbol {
  19.   DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Block)
  20. public:
  21.   void dump(PDBSymDumper &Dumper) const override;
  22.  
  23.   FORWARD_SYMBOL_METHOD(getAddressOffset)
  24.   FORWARD_SYMBOL_METHOD(getAddressSection)
  25.   FORWARD_SYMBOL_METHOD(getLength)
  26.   FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
  27.   FORWARD_SYMBOL_METHOD(getLocationType)
  28.   FORWARD_SYMBOL_METHOD(getName)
  29.   FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
  30.   FORWARD_SYMBOL_METHOD(getVirtualAddress)
  31. };
  32. }
  33. }
  34.  
  35. #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLBLOCK_H
  36.