reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
492 unsigned getTag(StringRef TagString);
3976 unsigned Tag = dwarf::getTag(Lex.getStrVal());
unittests/BinaryFormat/DwarfTest.cpp32 EXPECT_EQ(DW_TAG_array_type, getTag("DW_TAG_array_type")); 33 EXPECT_EQ(DW_TAG_module, getTag("DW_TAG_module")); 36 EXPECT_EQ(DW_TAG_invalid, getTag("DW_TAG_invalid")); 37 EXPECT_EQ(DW_TAG_invalid, getTag("DW_TAG_madeuptag")); 38 EXPECT_EQ(DW_TAG_invalid, getTag("something else")); 41 EXPECT_EQ(DW_TAG_invalid, getTag("DW_TAG_lo_user")); 42 EXPECT_EQ(DW_TAG_invalid, getTag("DW_TAG_hi_user")); 43 EXPECT_EQ(DW_TAG_invalid, getTag("DW_TAG_user_base"));