LLVM  14.0.0git
DIALineNumber.h
Go to the documentation of this file.
1 //===- DIALineNumber.h - DIA implementation of IPDBLineNumber ---*- 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_DIA_DIALINENUMBER_H
10 #define LLVM_DEBUGINFO_PDB_DIA_DIALINENUMBER_H
11 
12 #include "DIASupport.h"
14 
15 namespace llvm {
16 namespace pdb {
17 class DIALineNumber : public IPDBLineNumber {
18 public:
19  explicit DIALineNumber(CComPtr<IDiaLineNumber> DiaLineNumber);
20 
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;
33 
34 private:
35  CComPtr<IDiaLineNumber> LineNumber;
36 };
37 }
38 }
39 #endif
DIASupport.h
llvm::pdb::DIALineNumber::getLineNumber
uint32_t getLineNumber() const override
Definition: DIALineNumber.cpp:17
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AllocatorList.h:23
llvm::pdb::DIALineNumber::isStatement
bool isStatement() const override
Definition: DIALineNumber.cpp:72
llvm::pdb::DIALineNumber::getLineNumberEnd
uint32_t getLineNumberEnd() const override
Definition: DIALineNumber.cpp:22
IPDBLineNumber.h
llvm::pdb::DIALineNumber::DIALineNumber
DIALineNumber(CComPtr< IDiaLineNumber > DiaLineNumber)
Definition: DIALineNumber.cpp:14
llvm::pdb::DIALineNumber::getCompilandId
uint32_t getCompilandId() const override
Definition: DIALineNumber.cpp:67
llvm::pdb::DIALineNumber::getColumnNumberEnd
uint32_t getColumnNumberEnd() const override
Definition: DIALineNumber.cpp:32
uint64_t
llvm::pdb::IPDBLineNumber
Definition: IPDBLineNumber.h:16
llvm::pdb::DIALineNumber::getSourceFileId
uint32_t getSourceFileId() const override
Definition: DIALineNumber.cpp:62
llvm::pdb::DIALineNumber::getLength
uint32_t getLength() const override
Definition: DIALineNumber.cpp:57
llvm::pdb::DIALineNumber
Definition: DIALineNumber.h:17
uint32_t
llvm::pdb::DIALineNumber::getAddressOffset
uint32_t getAddressOffset() const override
Definition: DIALineNumber.cpp:42
llvm::pdb::DIALineNumber::getVirtualAddress
uint64_t getVirtualAddress() const override
Definition: DIALineNumber.cpp:52
llvm::pdb::DIALineNumber::getColumnNumber
uint32_t getColumnNumber() const override
Definition: DIALineNumber.cpp:27
llvm::pdb::DIALineNumber::getRelativeVirtualAddress
uint32_t getRelativeVirtualAddress() const override
Definition: DIALineNumber.cpp:47
llvm::pdb::DIALineNumber::getAddressSection
uint32_t getAddressSection() const override
Definition: DIALineNumber.cpp:37