1 //===- DIALineNumber.h - DIA implementation of IPDBLineNumber ---*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_DEBUGINFO_PDB_DIA_DIALINENUMBER_H
10 #define LLVM_DEBUGINFO_PDB_DIA_DIALINENUMBER_H
12 #include "DIASupport.h"
13 #include "llvm/DebugInfo/PDB/IPDBLineNumber.h"
17 class DIALineNumber
: public IPDBLineNumber
{
19 explicit DIALineNumber(CComPtr
<IDiaLineNumber
> DiaLineNumber
);
21 uint32_t getLineNumber() const override
;
22 uint32_t getLineNumberEnd() const override
;
23 uint32_t getColumnNumber() const override
;
24 uint32_t getColumnNumberEnd() const override
;
25 uint32_t getAddressSection() const override
;
26 uint32_t getAddressOffset() const override
;
27 uint32_t getRelativeVirtualAddress() const override
;
28 uint64_t getVirtualAddress() const override
;
29 uint32_t getLength() const override
;
30 uint32_t getSourceFileId() const override
;
31 uint32_t getCompilandId() const override
;
32 bool isStatement() const override
;
35 CComPtr
<IDiaLineNumber
> LineNumber
;