1//===- IPDBLineNumber.h - base interface for PDB line no. info ---*- 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//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_DEBUGINFO_PDB_IPDBLINENUMBER_H
10#define LLVM_DEBUGINFO_PDB_IPDBLINENUMBER_H
11
12#include <cstdint>
13
14namespace llvm {
15namespace pdb {
16class IPDBLineNumber {
17public:
18  virtual ~IPDBLineNumber();
19
20  virtual uint32_t getLineNumber() const = 0;
21  virtual uint32_t getLineNumberEnd() const = 0;
22  virtual uint32_t getColumnNumber() const = 0;
23  virtual uint32_t getColumnNumberEnd() const = 0;
24  virtual uint32_t getAddressSection() const = 0;
25  virtual uint32_t getAddressOffset() const = 0;
26  virtual uint32_t getRelativeVirtualAddress() const = 0;
27  virtual uint64_t getVirtualAddress() const = 0;
28  virtual uint32_t getLength() const = 0;
29  virtual uint32_t getSourceFileId() const = 0;
30  virtual uint32_t getCompilandId() const = 0;
31  virtual bool isStatement() const = 0;
32};
33}
34}
35
36#endif
37