Home
last modified time | relevance | path

Searched refs:file_location (Results 1 - 12 of 12) sorted by relevance

/arkcompiler/runtime_core/assembler/
H A Dassembly-parser.h244 if (iter->second.file_location->is_defined && flag) { in AddObjectInTable()
248 if (!iter->second.file_location->is_defined && flag) { in AddObjectInTable()
249 iter->second.file_location->is_defined = true; in AddObjectInTable()
253 if (!iter->second.file_location->is_defined) { in AddObjectInTable()
254 iter->second.file_location->bound_left = context_.tokens[context_.number - 1].bound_left; in AddObjectInTable()
255 iter->second.file_location->bound_right = context_.tokens[context_.number - 1].bound_right; in AddObjectInTable()
256 iter->second.file_location->whole_line = context_.tokens[context_.number - 1].whole_line; in AddObjectInTable()
257 iter->second.file_location->line_number = line_stric_; in AddObjectInTable()
H A Dassembly-label.h26 std::optional<FileLocation> file_location; member
29 : name(std::move(s)), file_location({f_c, b_l, b_r, l_n, d}) in Label()
H A Dide_helpers.h58 if (item.file_location && item.file_location->is_defined) { in JsonSerializeItemBody()
H A Dassembly-record.h40 std::optional<FileLocation> file_location; member
47 file_location({f_c, b_l, b_r, l_n, d}) in Record()
H A Dassembly-parser.cpp660 if (!k.second.file_location->is_defined) { in ParseResetFunctionLabelsAndParams()
662 k.second.file_location->bound_left, k.second.file_location->bound_right, in ParseResetFunctionLabelsAndParams()
663 k.second.file_location->whole_line); in ParseResetFunctionLabelsAndParams()
695 if (!k.second.file_location->is_defined) { in ParseResetFunctionTable()
696 context_.err = Error("This function does not exist.", k.second.file_location->line_number, in ParseResetFunctionTable()
697 Error::ErrorType::ERR_BAD_ID_FUNCTION, "", k.second.file_location->bound_left, in ParseResetFunctionTable()
698 k.second.file_location->bound_right, k.second.file_location->whole_line); in ParseResetFunctionTable()
745 if (!k.second.file_location in ParseResetRecordTable()
[all...]
H A Dassembly-function.h88 std::optional<FileLocation> file_location; member
131 file_location({f_c, b_l, b_r, l_n, d}) in Function()
/arkcompiler/ets_frontend/merge_abc/src/
H A DassemblyLabelProto.cpp22 const auto &fileLocation = label.file_location; in Serialize()
34 FileLocation::Deserialize(protoLocation, label.file_location); in Deserialize()
H A DassemblyRecordProto.cpp36 const auto &location = record.file_location; in Serialize()
59 FileLocation::Deserialize(protoLocation, record.file_location); in Deserialize()
H A DassemblyFunctionProto.cpp103 const auto &fileLocation = function.file_location; in Serialize()
187 FileLocation::Deserialize(protoFunction.filelocation(), function.file_location); in Deserialize()
/arkcompiler/runtime_core/assembler/tests/
H A Dassembler_ins_test.cpp275 function.file_location->is_defined = false; in HWTEST_F()
H A Dparser_test.cpp354 ASSERT_EQ(item.Value().function_table.at(sig_main).label_table.at("label1").file_location->line_number, 2U); in TEST()
355 ASSERT_EQ(item.Value().function_table.at(sig_main).label_table.at("label1").file_location->is_defined, true); in TEST()
356 ASSERT_EQ(item.Value().function_table.at(sig_main).label_table.at("label2").file_location->line_number, 3U); in TEST()
357 ASSERT_EQ(item.Value().function_table.at(sig_main).label_table.at("label2").file_location->is_defined, true); in TEST()
358 ASSERT_EQ(item.Value().function_table.at(sig_m123).label_table.at("la1").file_location->line_number, 11U); in TEST()
359 ASSERT_EQ(item.Value().function_table.at(sig_m123).label_table.at("la1").file_location->is_defined, true); in TEST()
H A Dassembler_parser_test.cpp575 auto func_m123_table = item.Value().function_table.at(sig_m123).label_table.at("la1").file_location; in HWTEST_F()
576 auto func_main_table = item.Value().function_table.at(sig_main).label_table.at("label").file_location; in HWTEST_F()

Completed in 15 milliseconds