PDBSymbolLabel.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. //===- PDBSymbolLabel.h - label info ----------------------------*- C++ -*-===//
  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_PDBSYMBOLLABEL_H
  14. #define LLVM_DEBUGINFO_PDB_PDBSYMBOLLABEL_H
  15. #include "PDBSymbol.h"
  16. #include "PDBTypes.h"
  17. namespace llvm {
  18. namespace pdb {
  19. class PDBSymbolLabel : public PDBSymbol {
  20. DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Label)
  21. public:
  22. void dump(PDBSymDumper &Dumper) const override;
  23. FORWARD_SYMBOL_METHOD(getAddressOffset)
  24. FORWARD_SYMBOL_METHOD(getAddressSection)
  25. FORWARD_SYMBOL_METHOD(hasCustomCallingConvention)
  26. FORWARD_SYMBOL_METHOD(hasFarReturn)
  27. FORWARD_SYMBOL_METHOD(hasInterruptReturn)
  28. FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
  29. FORWARD_SYMBOL_METHOD(getLocationType)
  30. FORWARD_SYMBOL_METHOD(getName)
  31. FORWARD_SYMBOL_METHOD(hasNoInlineAttribute)
  32. FORWARD_SYMBOL_METHOD(hasNoReturnAttribute)
  33. FORWARD_SYMBOL_METHOD(isUnreached)
  34. FORWARD_SYMBOL_METHOD(getOffset)
  35. FORWARD_SYMBOL_METHOD(hasOptimizedCodeDebugInfo)
  36. FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
  37. FORWARD_SYMBOL_METHOD(getVirtualAddress)
  38. };
  39. } // namespace pdb
  40. } // namespace llvm
  41. #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLLABEL_H
  42. #ifdef __GNUC__
  43. #pragma GCC diagnostic pop
  44. #endif