OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:isFormClass
(Results
1 - 2
of
2
) sorted by null
/external/llvm/unittests/DebugInfo/DWARF/
DWARFFormValueTest.cpp
35
bool
isFormClass
(uint16_t Form, DWARFFormValue::FormClass FC) {
36
return DWARFFormValue(Form).
isFormClass
(FC);
40
EXPECT_TRUE(
isFormClass
(DW_FORM_addr, DWARFFormValue::FC_Address));
41
EXPECT_FALSE(
isFormClass
(DW_FORM_data8, DWARFFormValue::FC_Address));
42
EXPECT_TRUE(
isFormClass
(DW_FORM_data8, DWARFFormValue::FC_Constant));
43
EXPECT_TRUE(
isFormClass
(DW_FORM_data8, DWARFFormValue::FC_SectionOffset));
45
isFormClass
(DW_FORM_sec_offset, DWARFFormValue::FC_SectionOffset));
46
EXPECT_TRUE(
isFormClass
(DW_FORM_GNU_str_index, DWARFFormValue::FC_String));
47
EXPECT_TRUE(
isFormClass
(DW_FORM_GNU_addr_index, DWARFFormValue::FC_Address));
48
EXPECT_FALSE(
isFormClass
(DW_FORM_ref_addr, DWARFFormValue::FC_Address))
[
all
...]
/external/llvm/lib/DebugInfo/DWARF/
DWARFFormValue.cpp
111
bool DWARFFormValue::
isFormClass
(DWARFFormValue::FormClass FC) const {
506
if (!
isFormClass
(FC_String))
527
if (!
isFormClass
(FC_Address))
540
if (!
isFormClass
(FC_Reference))
560
if (!
isFormClass
(FC_SectionOffset))
566
if ((!
isFormClass
(FC_Constant) && !
isFormClass
(FC_Flag))
573
if ((!
isFormClass
(FC_Constant) && !
isFormClass
(FC_Flag)) ||
591
if (!
isFormClass
(FC_Block) && !isFormClass(FC_Exprloc)
[
all
...]
Completed in 59 milliseconds