DxilDiaTableFrameData.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // //
  3. // DxilDiaTableFrameData.h //
  4. // Copyright (C) Microsoft Corporation. All rights reserved. //
  5. // This file is distributed under the University of Illinois Open Source //
  6. // License. See LICENSE.TXT for details. //
  7. // //
  8. // DIA API implementation for DXIL modules. //
  9. // //
  10. ///////////////////////////////////////////////////////////////////////////////
  11. #pragma once
  12. #include "dxc/Support/WinIncludes.h"
  13. #include "dia2.h"
  14. #include "dxc/Support/Global.h"
  15. #include "dxc/Support/microcom.h"
  16. #include "DxilDia.h"
  17. #include "DxilDiaTable.h"
  18. namespace dxil_dia {
  19. class Session;
  20. class FrameDataTable : public impl::TableBase<IDiaEnumFrameData, IDiaFrameData> {
  21. public:
  22. FrameDataTable(IMalloc *pMalloc, Session *pSession);
  23. // HLSL inlines functions for a program, so no data to return.
  24. STDMETHODIMP frameByRVA(
  25. /* [in] */ DWORD relativeVirtualAddress,
  26. /* [retval][out] */ IDiaFrameData **frame) override { return ENotImpl(); }
  27. STDMETHODIMP frameByVA(
  28. /* [in] */ ULONGLONG virtualAddress,
  29. /* [retval][out] */ IDiaFrameData **frame) override { return ENotImpl(); }
  30. HRESULT GetItem(DWORD index, IDiaFrameData **ppItem) override;
  31. };
  32. } // namespace dxil_dia