Home
last modified time | relevance | path

Searched refs:toReference (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDWARFDebugInfoTest.cpp740 toReference(CU1Ref1DieDG.find(DW_AT_type), -1ULL));
747 toReference(CU1Ref2DieDG.find(DW_AT_type), -1ULL));
755 toReference(CU1Ref4DieDG.find(DW_AT_type), -1ULL));
763 toReference(CU1Ref8DieDG.find(DW_AT_type), -1ULL));
1643 EXPECT_FALSE(toReference(FormValOpt1).has_value());
1662 EXPECT_FALSE(toReference(FormValOpt2).has_value());
1681 EXPECT_FALSE(toReference(FormValOpt3).has_value());
1700 EXPECT_TRUE(toReference(FormValOpt4).has_value());
1707 EXPECT_EQ(RefData, toReference(FormValOpt4, InvalidU64));
1719 EXPECT_FALSE(toReference(FormValOpt5).has_value());
[all …]
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h247 inline Optional<uint64_t> toReference(const Optional<DWARFFormValue> &V) { in toReference() function
259 inline uint64_t toReference(const Optional<DWARFFormValue> &V, in toReference() function
261 return toReference(V).value_or(Default); in toReference()