blob: 77e88999497e5dca6a541032436313e1198207a8 [file] [log] [blame]
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01001//===- IPDBLineNumber.h - base interface for PDB line no. info ---*- C++-*-===//
2//
Andrew Walbran16937d02019-10-22 13:54:20 +01003// 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
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01006//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_DEBUGINFO_PDB_IPDBLINENUMBER_H
10#define LLVM_DEBUGINFO_PDB_IPDBLINENUMBER_H
11
12#include "PDBTypes.h"
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