Home
last modified time | relevance | path

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

/external/lldb/source/Expression/
DASTStructExtractor.cpp102 const ASTRecordLayout* struct_layout(&m_ast_context->getASTRecordLayout (struct_decl)); in ExtractFromFunctionDecl() local
104 if (!struct_layout) in ExtractFromFunctionDecl()
107 …m_function.m_struct_size = struct_layout->getSize().getQuantity(); // TODO Store m_struct_size as … in ExtractFromFunctionDecl()
108 …m_function.m_return_offset = struct_layout->getFieldOffset(struct_layout->getFieldCount() - 1) / 8; in ExtractFromFunctionDecl()
109 …m_function.m_return_size = struct_layout->getDataSize().getQuantity() - m_function.m_return_offset; in ExtractFromFunctionDecl()
111 for (unsigned field_index = 0, num_fields = struct_layout->getFieldCount(); in ExtractFromFunctionDecl()
115 m_function.m_member_offsets.push_back(struct_layout->getFieldOffset(field_index) / 8); in ExtractFromFunctionDecl()
DIRForTarget.cpp1408 const StructLayout *struct_layout = m_target_data->getStructLayout(struct_initializer_type); in MaterializeInitializer() local
1414 …if (!MaterializeInitializer(data + struct_layout->getElementOffset(i), struct_initializer->getOper… in MaterializeInitializer()