PDBSymbolAnnotation.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. //===- PDBSymbolAnnotation.h - Accessors for querying PDB annotations ---*-===//
  7. //
  8. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  9. // See https://llvm.org/LICENSE.txt for license information.
  10. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  11. //
  12. //===----------------------------------------------------------------------===//
  13. #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLANNOTATION_H
  14. #define LLVM_DEBUGINFO_PDB_PDBSYMBOLANNOTATION_H
  15. #include "PDBSymbol.h"
  16. #include "PDBTypes.h"
  17. namespace llvm {
  18. namespace pdb {
  19. class PDBSymbolAnnotation : public PDBSymbol {
  20. DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Annotation)
  21. public:
  22. void dump(PDBSymDumper &Dumper) const override;
  23. FORWARD_SYMBOL_METHOD(getAddressOffset)
  24. FORWARD_SYMBOL_METHOD(getAddressSection)
  25. FORWARD_SYMBOL_METHOD(getDataKind)
  26. FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
  27. // FORWARD_SYMBOL_METHOD(getValue)
  28. FORWARD_SYMBOL_METHOD(getVirtualAddress)
  29. };
  30. }
  31. }
  32. #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLANNOTATION_H
  33. #ifdef __GNUC__
  34. #pragma GCC diagnostic pop
  35. #endif