1- // ===-- GsymDIContext .cpp ------------------------------------------------===//
1+ // ===-- GsymContext .cpp ------------------------------------------------===//
22//
33// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44// See https://llvm.org/LICENSE.txt for license information.
55// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66//
77// ===----------------------------------------------------------------------===/
88
9- #include " llvm/DebugInfo/GSYM/GsymDIContext .h"
9+ #include " llvm/DebugInfo/GSYM/GsymContext .h"
1010
1111#include " llvm/DebugInfo/GSYM/GsymReader.h"
1212#include " llvm/Support/Path.h"
1313
1414using namespace llvm ;
1515using namespace llvm ::gsym;
1616
17- GsymDIContext::GsymDIContext (std::unique_ptr<GsymReader> Reader)
17+ GsymContext::GsymContext (std::unique_ptr<GsymReader> Reader)
1818 : DIContext(CK_GSYM), Reader(std::move(Reader)) {}
1919
20- void GsymDIContext ::dump (raw_ostream &OS, DIDumpOptions DumpOpts) {}
20+ void GsymContext ::dump (raw_ostream &OS, DIDumpOptions DumpOpts) {}
2121
2222static bool fillLineInfoFromLocation (const SourceLocation &Location,
2323 DILineInfoSpecifier Specifier,
@@ -61,8 +61,8 @@ static bool fillLineInfoFromLocation(const SourceLocation &Location,
6161}
6262
6363std::optional<DILineInfo>
64- GsymDIContext ::getLineInfoForAddress (object::SectionedAddress Address,
65- DILineInfoSpecifier Specifier) {
64+ GsymContext ::getLineInfoForAddress (object::SectionedAddress Address,
65+ DILineInfoSpecifier Specifier) {
6666 if (Address.SectionIndex != object::SectionedAddress::UndefSection)
6767 return {};
6868
@@ -93,16 +93,16 @@ GsymDIContext::getLineInfoForAddress(object::SectionedAddress Address,
9393}
9494
9595std::optional<DILineInfo>
96- GsymDIContext ::getLineInfoForDataAddress (object::SectionedAddress Address) {
96+ GsymContext ::getLineInfoForDataAddress (object::SectionedAddress Address) {
9797 // We can't implement this, there's no such information in the GSYM file.
9898
9999 return {};
100100}
101101
102102DILineInfoTable
103- GsymDIContext ::getLineInfoForAddressRange (object::SectionedAddress Address,
104- uint64_t Size,
105- DILineInfoSpecifier Specifier) {
103+ GsymContext ::getLineInfoForAddressRange (object::SectionedAddress Address,
104+ uint64_t Size,
105+ DILineInfoSpecifier Specifier) {
106106 if (Size == 0 )
107107 return DILineInfoTable ();
108108
@@ -131,8 +131,8 @@ GsymDIContext::getLineInfoForAddressRange(object::SectionedAddress Address,
131131}
132132
133133DIInliningInfo
134- GsymDIContext ::getInliningInfoForAddress (object::SectionedAddress Address,
135- DILineInfoSpecifier Specifier) {
134+ GsymContext ::getInliningInfoForAddress (object::SectionedAddress Address,
135+ DILineInfoSpecifier Specifier) {
136136 auto ResultOrErr = Reader->lookup (Address.Address );
137137
138138 if (!ResultOrErr)
@@ -159,7 +159,7 @@ GsymDIContext::getInliningInfoForAddress(object::SectionedAddress Address,
159159}
160160
161161std::vector<DILocal>
162- GsymDIContext ::getLocalsForAddress (object::SectionedAddress Address) {
162+ GsymContext ::getLocalsForAddress (object::SectionedAddress Address) {
163163 // We can't implement this, there's no such information in the GSYM file.
164164
165165 return {};
0 commit comments