Searched refs:file_location (Results 1 - 12 of 12) sorted by relevance
/arkcompiler/runtime_core/assembler/ |
H A D | assembly-parser.h | 244 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 D | assembly-label.h | 26 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 D | ide_helpers.h | 58 if (item.file_location && item.file_location->is_defined) { in JsonSerializeItemBody()
|
H A D | assembly-record.h | 40 std::optional<FileLocation> file_location; member 47 file_location({f_c, b_l, b_r, l_n, d}) in Record()
|
H A D | assembly-parser.cpp | 660 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 D | assembly-function.h | 88 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 D | assemblyLabelProto.cpp | 22 const auto &fileLocation = label.file_location; in Serialize() 34 FileLocation::Deserialize(protoLocation, label.file_location); in Deserialize()
|
H A D | assemblyRecordProto.cpp | 36 const auto &location = record.file_location; in Serialize() 59 FileLocation::Deserialize(protoLocation, record.file_location); in Deserialize()
|
H A D | assemblyFunctionProto.cpp | 103 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 D | assembler_ins_test.cpp | 275 function.file_location->is_defined = false; in HWTEST_F()
|
H A D | parser_test.cpp | 354 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 D | assembler_parser_test.cpp | 575 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