[Alignment][NFC] Convert StoreInst to MaybeAlign
[llvm-complete.git] / include / llvm / DebugInfo / PDB / IPDBFrameData.h
blob24138b380db4aee2dcce6c8fe23a48acaaf48083
1 //===- IPDBFrameData.h - base interface for frame data ----------*- C++ -*-===//
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_DEBUGINFO_PDB_IPDBFRAMEDATA_H
10 #define LLVM_DEBUGINFO_PDB_IPDBFRAMEDATA_H
12 #include <cstdint>
13 #include <string>
15 namespace llvm {
16 namespace pdb {
18 /// IPDBFrameData defines an interface used to represent a frame data of some
19 /// code block.
20 class IPDBFrameData {
21 public:
22 virtual ~IPDBFrameData();
24 virtual uint32_t getAddressOffset() const = 0;
25 virtual uint32_t getAddressSection() const = 0;
26 virtual uint32_t getLengthBlock() const = 0;
27 virtual std::string getProgram() const = 0;
28 virtual uint32_t getRelativeVirtualAddress() const = 0;
29 virtual uint64_t getVirtualAddress() const = 0;
32 } // namespace pdb
33 } // namespace llvm
35 #endif