Home
last modified time | relevance | path

Searched refs:RangeEntry (Results 1 – 5 of 5) sorted by relevance

/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVRange.cpp28 for (LVRangeEntry &RangeEntry : RangeEntries) { in startSearch()
30 LVScope *Scope = RangeEntry.scope(); in startSearch()
32 << "Range: [" << hexValue(RangeEntry.lower()) << ":" in startSearch()
33 << hexValue(RangeEntry.upper()) << "]\n"; in startSearch()
36 RangesTree.insert(RangeEntry.lower(), RangeEntry.upper(), in startSearch()
37 RangeEntry.scope()); in startSearch()
111 for (const LVRangeEntry &RangeEntry : RangeEntries) in getEntry() local
112 if (LowerAddress >= RangeEntry.lower() && UpperAddress < RangeEntry.upper()) in getEntry()
113 return RangeEntry.scope(); in getEntry()
119 for (const LVRangeEntry &RangeEntry : RangeEntries) in hasEntry() local
[all …]
/llvm-project/llvm/unittests/DebugInfo/LogicalView/
H A DCodeViewReaderTest.cpp102 LVRangeEntry RangeEntry = *IterRanges; in checkElementPropertiesClangCodeview()
103 EXPECT_EQ(RangeEntry.lower(), 0u); in checkElementPropertiesClangCodeview()
104 EXPECT_EQ(RangeEntry.upper(), 0x46u); in checkElementPropertiesClangCodeview()
105 EXPECT_EQ(RangeEntry.scope()->getLineNumber(), 0u); in checkElementPropertiesClangCodeview()
106 EXPECT_EQ(RangeEntry.scope()->getName(), "foo"); in checkElementPropertiesClangCodeview()
107 EXPECT_EQ(RangeEntry.scope()->getOffset(), 0u); in checkElementPropertiesClangCodeview()
110 RangeEntry = *IterRanges; in checkElementPropertiesClangCodeview()
111 EXPECT_EQ(RangeEntry.lower(), 0x21u); in checkElementPropertiesClangCodeview()
112 EXPECT_EQ(RangeEntry.upper(), 0x35u); in checkElementPropertiesClangCodeview()
113 EXPECT_EQ(RangeEntry in checkElementPropertiesClangCodeview()
99 LVRangeEntry RangeEntry = *IterRanges; checkElementPropertiesClangCodeview() local
165 LVRangeEntry RangeEntry = *IterRanges; checkElementPropertiesMsvcCodeview() local
231 LVRangeEntry RangeEntry = *IterRanges; checkElementPropertiesMsvcCodeviewPdb() local
[all...]
H A DDWARFReaderTest.cpp96 LVRangeEntry RangeEntry = *IterRanges; in checkElementProperties() local
97 EXPECT_EQ(RangeEntry.lower(), 0u); in checkElementProperties()
98 EXPECT_EQ(RangeEntry.upper(), 0x3au); in checkElementProperties()
99 EXPECT_EQ(RangeEntry.scope()->getLineNumber(), 0u); in checkElementProperties()
100 EXPECT_EQ(RangeEntry.scope()->getName(), "test.cpp"); in checkElementProperties()
101 EXPECT_EQ(RangeEntry.scope()->getOffset(), 0x0bu); in checkElementProperties()
104 RangeEntry = *IterRanges; in checkElementProperties()
105 EXPECT_EQ(RangeEntry.lower(), 0x1cu); in checkElementProperties()
106 EXPECT_EQ(RangeEntry.upper(), 0x2fu); in checkElementProperties()
107 EXPECT_EQ(RangeEntry.scope()->getLineNumber(), 0u); in checkElementProperties()
[all …]
/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h66 struct RangeEntry { struct
75 std::vector<RangeEntry> Entries; argument
282 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::RangeEntry) in LLVM_YAML_IS_SEQUENCE_VECTOR()
336 template <> struct MappingTraits<DWARFYAML::RangeEntry> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
337 static void mapping(IO &IO, DWARFYAML::RangeEntry &Entry); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFYAML.cpp179 void MappingTraits<DWARFYAML::RangeEntry>::mapping( in mapping()
180 IO &IO, DWARFYAML::RangeEntry &Descriptor) { in mapping()