PDBSymbolThunk.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. //===- PDBSymbolThunk.h - Support for querying PDB thunks ---------------*-===//
  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_PDBSYMBOLTHUNK_H
  14. #define LLVM_DEBUGINFO_PDB_PDBSYMBOLTHUNK_H
  15. #include "PDBSymbol.h"
  16. #include "PDBTypes.h"
  17. namespace llvm {
  18. namespace pdb {
  19. class PDBSymbolThunk : public PDBSymbol {
  20. DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Thunk)
  21. public:
  22. void dump(PDBSymDumper &Dumper) const override;
  23. FORWARD_SYMBOL_METHOD(getAccess)
  24. FORWARD_SYMBOL_METHOD(getAddressOffset)
  25. FORWARD_SYMBOL_METHOD(getAddressSection)
  26. FORWARD_SYMBOL_ID_METHOD(getClassParent)
  27. FORWARD_SYMBOL_METHOD(isConstType)
  28. FORWARD_SYMBOL_METHOD(isIntroVirtualFunction)
  29. FORWARD_SYMBOL_METHOD(isStatic)
  30. FORWARD_SYMBOL_METHOD(getLength)
  31. FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
  32. FORWARD_SYMBOL_METHOD(getName)
  33. FORWARD_SYMBOL_METHOD(isPureVirtual)
  34. FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
  35. FORWARD_SYMBOL_METHOD(getTargetOffset)
  36. FORWARD_SYMBOL_METHOD(getTargetRelativeVirtualAddress)
  37. FORWARD_SYMBOL_METHOD(getTargetVirtualAddress)
  38. FORWARD_SYMBOL_METHOD(getTargetSection)
  39. FORWARD_SYMBOL_METHOD(getThunkOrdinal)
  40. FORWARD_SYMBOL_ID_METHOD(getType)
  41. FORWARD_SYMBOL_METHOD(isUnalignedType)
  42. FORWARD_SYMBOL_METHOD(isVirtual)
  43. FORWARD_SYMBOL_METHOD(getVirtualAddress)
  44. FORWARD_SYMBOL_METHOD(getVirtualBaseOffset)
  45. FORWARD_SYMBOL_METHOD(isVolatileType)
  46. };
  47. } // namespace pdb
  48. } // namespace llvm
  49. #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTHUNK_H
  50. #ifdef __GNUC__
  51. #pragma GCC diagnostic pop
  52. #endif