Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
lldb/unittests/SymbolFile/DWARF/DWARFASTParserClangTests.cpp
Show All 35 Lines | |||||
// If your implementation needs to dereference the dummy pointers we are | // If your implementation needs to dereference the dummy pointers we are | ||||
// defining here, causing this test to fail, feel free to delete it. | // defining here, causing this test to fail, feel free to delete it. | ||||
TEST_F(DWARFASTParserClangTests, | TEST_F(DWARFASTParserClangTests, | ||||
EnsureAllDIEsInDeclContextHaveBeenParsedParsesOnlyMatchingEntries) { | EnsureAllDIEsInDeclContextHaveBeenParsedParsesOnlyMatchingEntries) { | ||||
/// Auxiliary debug info. | /// Auxiliary debug info. | ||||
const char *yamldata = | const char *yamldata = | ||||
"debug_abbrev:\n" | "debug_abbrev:\n" | ||||
" - Table:\n" | |||||
" - Code: 0x00000001\n" | " - Code: 0x00000001\n" | ||||
" Tag: DW_TAG_compile_unit\n" | " Tag: DW_TAG_compile_unit\n" | ||||
" Children: DW_CHILDREN_yes\n" | " Children: DW_CHILDREN_yes\n" | ||||
" Attributes:\n" | " Attributes:\n" | ||||
" - Attribute: DW_AT_language\n" | " - Attribute: DW_AT_language\n" | ||||
" Form: DW_FORM_data2\n" | " Form: DW_FORM_data2\n" | ||||
" - Code: 0x00000002\n" | " - Code: 0x00000002\n" | ||||
" Tag: DW_TAG_base_type\n" | " Tag: DW_TAG_base_type\n" | ||||
" Children: DW_CHILDREN_no\n" | " Children: DW_CHILDREN_no\n" | ||||
" Attributes:\n" | " Attributes:\n" | ||||
" - Attribute: DW_AT_encoding\n" | " - Attribute: DW_AT_encoding\n" | ||||
" Form: DW_FORM_data1\n" | " Form: DW_FORM_data1\n" | ||||
" - Attribute: DW_AT_byte_size\n" | " - Attribute: DW_AT_byte_size\n" | ||||
" Form: DW_FORM_data1\n" | " Form: DW_FORM_data1\n" | ||||
"debug_info:\n" | "debug_info:\n" | ||||
" - Version: 4\n" | " - Version: 4\n" | ||||
" AbbrOffset: 0\n" | " AbbrOffset: 0\n" | ||||
" AddrSize: 8\n" | " AddrSize: 8\n" | ||||
" Entries:\n" | " Entries:\n" | ||||
" - AbbrCode: 0x00000001\n" | " - AbbrCode: 0x00000001\n" | ||||
" Values:\n" | " Values:\n" | ||||
" - Value: 0x000000000000000C\n" | " - Value: 0x000000000000000C\n" | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |