OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isFormClass
(Results
1 - 3
of
3
) sorted by null
/external/llvm/unittests/DebugInfo/
DWARFFormValueTest.cpp
31
bool
isFormClass
(uint16_t Form, DWARFFormValue::FormClass FC) {
32
return DWARFFormValue(Form).
isFormClass
(FC);
36
EXPECT_TRUE(
isFormClass
(DW_FORM_addr, DWARFFormValue::FC_Address));
37
EXPECT_FALSE(
isFormClass
(DW_FORM_data8, DWARFFormValue::FC_Address));
38
EXPECT_TRUE(
isFormClass
(DW_FORM_data8, DWARFFormValue::FC_Constant));
39
EXPECT_TRUE(
isFormClass
(DW_FORM_data8, DWARFFormValue::FC_SectionOffset));
41
isFormClass
(DW_FORM_sec_offset, DWARFFormValue::FC_SectionOffset));
42
EXPECT_TRUE(
isFormClass
(DW_FORM_GNU_str_index, DWARFFormValue::FC_String));
43
EXPECT_TRUE(
isFormClass
(DW_FORM_GNU_addr_index, DWARFFormValue::FC_Address));
44
EXPECT_FALSE(
isFormClass
(DW_FORM_ref_addr, DWARFFormValue::FC_Address))
[
all
...]
/external/llvm/include/llvm/DebugInfo/
DWARFFormValue.h
57
bool
isFormClass
(FormClass FC) const;
/external/llvm/lib/DebugInfo/
DWARFFormValue.cpp
108
bool DWARFFormValue::
isFormClass
(DWARFFormValue::FormClass FC) const {
487
if (!
isFormClass
(FC_String))
507
if (!
isFormClass
(FC_Address))
520
if (!
isFormClass
(FC_Reference))
540
if (!
isFormClass
(FC_SectionOffset))
546
if (!
isFormClass
(FC_Constant) || Form == DW_FORM_sdata)
Completed in 184 milliseconds