Home
last modified time | relevance | path

Searched refs:locations (Results 1 - 25 of 36) sorted by relevance

12

/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dlocations_builder.cpp19 #include "compiler/optimizer/ir/locations.h"
73 LocationsInfo *locations = allocator->New<LocationsInfo>(allocator, inst); in LOCATIONS_BUILDER() local
90 locations->SetLocation(i, param); in LOCATIONS_BUILDER()
99 locations->SetDstLocation(GetLocationForReturn(inst)); in LOCATIONS_BUILDER()
107 LocationsInfo *locations = allocator->New<LocationsInfo>(allocator, inst); in LOCATIONS_BUILDER() local
121 locations->SetLocation(i, param); in LOCATIONS_BUILDER()
130 locations->SetLocation(i, Location::MakeStackArgument(stackArgs++)); in LOCATIONS_BUILDER()
132 locations->SetDstLocation(GetLocationForReturn(inst)); in LOCATIONS_BUILDER()
181 LocationsInfo *locations = allocator->New<LocationsInfo>(allocator, inst); in LOCATIONS_BUILDER() local
186 locations in LOCATIONS_BUILDER()
209 LocationsInfo *locations = allocator->New<LocationsInfo>(allocator, inst); LOCATIONS_BUILDER() local
228 LocationsInfo *locations = allocator->New<LocationsInfo>(allocator, inst); LOCATIONS_BUILDER() local
264 LocationsInfo *locations = allocator->New<LocationsInfo>(allocator, inst); LOCATIONS_BUILDER() local
314 LocationsInfo *locations = allocator->New<LocationsInfo>(allocator, inst); LOCATIONS_BUILDER() local
329 LocationsInfo *locations = allocator->New<LocationsInfo>(allocator, inst); LOCATIONS_BUILDER() local
345 LocationsInfo *locations = allocator->New<LocationsInfo>(allocator, inst); LOCATIONS_BUILDER() local
363 LocationsInfo *locations = allocator->New<LocationsInfo>(allocator, inst); LOCATIONS_BUILDER() local
381 LocationsInfo *locations = allocator->New<LocationsInfo>(allocator, inst); LOCATIONS_BUILDER() local
[all...]
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
H A Dthread_state.cpp55 void ThreadState::ContinueTo(std::unordered_set<PtLocation, HashLocation> locations) in ContinueTo() argument
58 stepLocations_ = std::move(locations); in ContinueTo()
62 void ThreadState::StepInto(std::unordered_set<PtLocation, HashLocation> locations) in StepInto() argument
66 stepLocations_ = std::move(locations); in StepInto()
70 void ThreadState::StepOver(std::unordered_set<PtLocation, HashLocation> locations) in StepOver() argument
74 stepLocations_ = std::move(locations); in StepOver()
97 BreakpointId ThreadState::SetBreakpoint(const std::vector<PtLocation> &locations) in SetBreakpoint() argument
100 for (auto &location : locations) { in SetBreakpoint()
H A Dthread_state.h46 void ContinueTo(std::unordered_set<PtLocation, HashLocation> locations);
47 void StepInto(std::unordered_set<PtLocation, HashLocation> locations);
48 void StepOver(std::unordered_set<PtLocation, HashLocation> locations);
52 BreakpointId SetBreakpoint(const std::vector<PtLocation> &locations);
69 // Continue execution until one of the specified locations is reached
75 // Continue execution until one of the locations, other than the current line, is reached
83 // - One of the locations, other than the current line, is reached.
89 // The set of locations has different semantics for various kinds of stepping:
90 // - for CONTINUE_TO it contains the set of locations we should reach to end the step;
91 // - for STEP_INTO and STEP_OVER it contains the set of locations correspondin
[all...]
H A Ddebug_info_cache.cpp59 std::unordered_set<PtLocation, HashLocation> locations; in GetCurrentLineLocations() local
68 return locations; in GetCurrentLineLocations()
80 locations.emplace(pandaFile->GetFilename().c_str(), methodId, o); in GetCurrentLineLocations()
84 return locations; in GetCurrentLineLocations()
90 std::unordered_set<PtLocation, HashLocation> locations; in GetContinueToLocations() local
94 [lineNumber, &locations](auto pandaFile, auto &, auto methodId, auto &entry, auto next) { in GetContinueToLocations()
113 locations.emplace(pandaFile->GetFilename().data(), methodId, o); in GetContinueToLocations()
117 return locations; in GetContinueToLocations()
124 std::vector<PtLocation> locations; in GetBreakpointLocations() local
132 [lineNumber, &sourceFiles, &locations](aut in GetBreakpointLocations()
[all...]
H A Ddebuggable_thread.cpp44 void DebuggableThread::ContinueTo(std::unordered_set<PtLocation, HashLocation> locations) in ContinueTo() argument
47 state_.ContinueTo(std::move(locations)); in ContinueTo()
51 void DebuggableThread::StepInto(std::unordered_set<PtLocation, HashLocation> locations) in StepInto() argument
54 state_.StepInto(std::move(locations)); in StepInto()
58 void DebuggableThread::StepOver(std::unordered_set<PtLocation, HashLocation> locations) in StepOver() argument
61 state_.StepOver(std::move(locations)); in StepOver()
96 BreakpointId DebuggableThread::SetBreakpoint(const std::vector<PtLocation> &locations) in SetBreakpoint() argument
99 return state_.SetBreakpoint(locations); in SetBreakpoint()
H A Ddebuggable_thread.h57 // Continues execution of a paused thread until it reaches one of the locations
58 void ContinueTo(std::unordered_set<PtLocation, HashLocation> locations);
61 void StepInto(std::unordered_set<PtLocation, HashLocation> locations);
64 void StepOver(std::unordered_set<PtLocation, HashLocation> locations);
83 // Sets a breakpoint on the locations. Returns the breakpoint ID
84 BreakpointId SetBreakpoint(const std::vector<PtLocation> &locations);
H A Dinspector_server.cpp266 result.AddProperty("locations", [scriptId, &lineNumbers](JsonArrayBuilder &array) { in OnCallDebuggerGetPossibleBreakpoints()
405 result.AddProperty("locations", [this, lineNumber, &sourceFiles, thread](JsonArrayBuilder &locations) { in OnCallDebuggerSetBreakpointByUrl()
406 AddBreakpointByUrlLocations(locations, sourceFiles, lineNumber, thread); in OnCallDebuggerSetBreakpointByUrl()
614 void InspectorServer::AddBreakpointByUrlLocations(JsonArrayBuilder &locations, in AddBreakpointByUrlLocations() argument
619 locations.Add([this, lineNumber, thread, sourceFile](JsonObjectBuilder &location) { in AddBreakpointByUrlLocations()
/arkcompiler/toolchain/test/autotest/aw/cdp/
H A Ddebugger.py87 locations: list = field(default_factory=list)
107 locations = []
108 for location in params.locations:
109 locations.append(location.to_json())
111 'params': {'locations': locations}}
/arkcompiler/runtime_core/static_core/runtime/profilesaver/
H A Dprofile_saver.cpp239 LOG(INFO, RUNTIME) << " Step2.2: starting tracking all the pandafile locations and flush the cache"; in TranverseAndCacheResolvedClassAndMethods()
243 const PandaSet<PandaString> &locations = it.second; in TranverseAndCacheResolvedClassAndMethods() local
248 LOG(INFO, RUNTIME) << " all the locations are:"; in TranverseAndCacheResolvedClassAndMethods()
249 for (auto const &iter : locations) { in TranverseAndCacheResolvedClassAndMethods()
256 if (locations.find(ConvertToString(ref.pandaFile->GetFilename())) != locations.end()) { in TranverseAndCacheResolvedClassAndMethods()
266 if (locations.find(classes.GetPandaFileLocation()) != locations.end()) { in TranverseAndCacheResolvedClassAndMethods()
/arkcompiler/toolchain/test/autotest/scenario_test/
H A Dtest_debug_02.py147 locations = [debugger.BreakLocationUrl(url=self.config['file_path']['index'], line_number=53),
149 params = debugger.SetBreakpointsLocations(locations)
152 assert response['result']['locations'][0]['id'] == 'id:53:0:' + self.config['file_path']['index']
153 assert response['result']['locations'][1]['id'] == 'id:57:0:' + self.config['file_path']['index']
178 locations = [debugger.BreakLocationUrl(url=self.config['file_path']['worker'], line_number=11)]
179 params = debugger.SetBreakpointsLocations(locations)
182 assert response['result']['locations'][0]['id'] == 'id:11:0:' + self.config['file_path']['worker']
224 locations = [debugger.BreakLocationUrl(url=self.config['file_path']['worker'], line_number=11)]
225 params = debugger.SetBreakpointsLocations(locations)
228 assert response['result']['locations'][
[all...]
H A Dtest_debug_04.py138 locations = [debugger.BreakLocationUrl(url=self.config['file_path']['index'], line_number=10),
141 params = debugger.SetBreakpointsLocations(locations)
144 assert response['result']['locations'][0]['id'] == 'id:10:0:' + self.config['file_path']['index']
145 assert response['result']['locations'][1]['id'] == 'id:17:0:' + self.config['file_path']['index']
146 assert response['result']['locations'][2]['id'] == 'id:25:0:' + self.config['file_path']['index']
169 locations = [debugger.BreakLocationUrl(url=self.config['file_path']['index'], line_number=10),
172 params = debugger.SetBreakpointsLocations(locations)
175 assert response['result']['locations'][0]['id'] == 'id:10:0:' + self.config['file_path']['index']
176 assert response['result']['locations'][1]['id'] == 'id:17:0:' + self.config['file_path']['index']
177 assert response['result']['locations'][
[all...]
H A Dtest_debug_01.py157 locations = [debugger.BreakLocationUrl(url=self.config['file_path']['index'], line_number=12),
160 params = debugger.SetBreakpointsLocations(locations)
163 assert response['result']['locations'][0]['id'] == 'id:12:0:' + self.config['file_path']['index']
164 assert response['result']['locations'][1]['id'] == 'id:53:0:' + self.config['file_path']['index']
165 assert response['result']['locations'][2]['id'] == 'id:57:0:' + self.config['file_path']['index']
239 locations = [debugger.BreakLocationUrl(url=self.config['file_path']['worker'], line_number=11)]
240 params = debugger.SetBreakpointsLocations(locations)
243 assert response['result']['locations'][0]['id'] == 'id:11:0:' + self.config['file_path']['worker']
246 assert response['result']['locations'][0]['id'] == 'id:11:0:' + self.config['file_path']['worker']
325 locations
[all...]
H A Dtest_debug_03.py170 locations = [debugger.BreakLocationUrl(url=self.config['file_path']['index'], line_number=10),
173 params = debugger.SetBreakpointsLocations(locations)
176 assert response['result']['locations'][0]['id'] == 'id:10:0:' + self.config['file_path']['index']
177 assert response['result']['locations'][1]['id'] == 'id:17:0:' + self.config['file_path']['index']
178 assert response['result']['locations'][2]['id'] == 'id:25:0:' + self.config['file_path']['index']
201 locations = [debugger.BreakLocationUrl(url=self.config['file_path']['index'], line_number=10),
204 params = debugger.SetBreakpointsLocations(locations)
207 assert response['result']['locations'][0]['id'] == 'id:10:0:' + self.config['file_path']['index']
208 assert response['result']['locations'][1]['id'] == 'id:17:0:' + self.config['file_path']['index']
209 assert response['result']['locations'][
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/
H A Dsource_meta.py46 locations: List[debugger.Location] | None = None
53 def locations(self, script_id: runtime.ScriptId): member in SourceMeta
/arkcompiler/toolchain/tooling/test/testcases/
H A Djs_special_location_breakpoint_test.h87 std::unique_ptr<PtJson> locations = nullptr; in RecvBreakpointInfo() local
88 ret = result->GetArray("locations", &locations); in RecvBreakpointInfo()
94 ret = locations->Get(0)->GetInt("lineNumber", &lineNumber); in RecvBreakpointInfo()
H A Djs_step_over_test.h114 void SetJSPtLocation(size_t *arr, size_t number, std::vector<JSPtLocation> &locations) in SetJSPtLocation() argument
119 locations.push_back(location_); in SetJSPtLocation()
H A Djs_step_out_test.h110 void SetJSPtLocation(size_t *arr, size_t number, std::vector<JSPtLocation> &locations) in SetJSPtLocation() argument
115 locations.push_back(location_); in SetJSPtLocation()
H A Djs_step_into_test.h114 void SetJSPtLocation(size_t *arr, size_t number, std::vector<JSPtLocation> &locations) in SetJSPtLocation() argument
119 locations.push_back(location); in SetJSPtLocation()
/arkcompiler/toolchain/tooling/test/
H A Ddebugger_returns_test.cpp77 auto locations = std::vector<std::unique_ptr<Location>>(); in HWTEST_F_L0() local
80 locations.emplace_back(std::move(location)); in HWTEST_F_L0()
82 = std::make_unique<SetBreakpointByUrlReturns>("11", std::move(locations)); in HWTEST_F_L0()
89 ASSERT_EQ(setBreakpointByUrlReturns->ToJson()->GetArray("locations", &locationsJson), Result::SUCCESS); in HWTEST_F_L0()
118 auto locations = std::vector<std::unique_ptr<BreakLocation>>(); in HWTEST_F_L0() local
121 locations.emplace_back(std::move(breakLocation)); in HWTEST_F_L0()
123 <GetPossibleBreakpointsReturns>(std::move(locations)); in HWTEST_F_L0()
126 ASSERT_EQ(getPossibleBreakpointsReturns->ToJson()->GetArray("locations", &locationsJson), Result::SUCCESS); in HWTEST_F_L0()
420 auto locations = std::vector<std::unique_ptr<BreakpointReturnInfo>>(); in HWTEST_F_L0() local
423 locations in HWTEST_F_L0()
[all...]
/arkcompiler/toolchain/tooling/base/
H A Dpt_returns.h70 explicit SetBreakpointByUrlReturns(const std::string &id, std::vector<std::unique_ptr<Location>> locations) in SetBreakpointByUrlReturns() argument
71 : id_(id), locations_(std::move(locations)) in SetBreakpointByUrlReturns()
88 explicit GetPossibleAndSetBreakpointByUrlReturns(std::vector<std::unique_ptr<BreakpointReturnInfo>> locations) in GetPossibleAndSetBreakpointByUrlReturns() argument
89 : locations_(std::move(locations)) in GetPossibleAndSetBreakpointByUrlReturns()
123 explicit GetPossibleBreakpointsReturns(std::vector<std::unique_ptr<BreakLocation>> locations) in GetPossibleBreakpointsReturns() argument
124 : locations_(std::move(locations)) in GetPossibleBreakpointsReturns()
/arkcompiler/ets_runtime/ecmascript/stackmap/llvm/
H A Dllvm_stackmap_type.h173 std::vector<struct LocationTy> locations; member
178 auto size = locations.size(); in Print()
181 locations[i].Print(); in Print()
H A Dllvm_stackmap_parser.cpp85 const int lastDeoptIndex = record.locations[LocationTy::CONSTANT_DEOPT_CNT_INDEX].offsetOrSmallConstant + in CalcCallSite()
89 const struct LocationTy &loc = record.locations[j]; in CalcCallSite()
204 stkSizeRecord.locations.push_back(location); in CalculateStackMap()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/tests/
H A Dinspector_server.cpp248 std::vector<testing::Matcher<JsonObject::JsonObjPointer>> locations;
250 locations.push_back(
255 JsonProperties(JsonProperty<JsonObject::ArrayT> {"locations", JsonElementsAreArray(locations)}));
306 std::vector<testing::Matcher<JsonObject::JsonObjPointer>> locations; in TEST_F()
469 std::vector<testing::Matcher<JsonObject::JsonObjPointer>> locations; in TEST_F()
470 locations.push_back(testing::Pointee( in TEST_F()
477 JsonProperty<JsonObject::ArrayT> {"locations", JsonElementsAreArray(locations)})); in TEST_F()
/arkcompiler/runtime_core/static_core/compiler/tools/paoc/
H A Dpaoc.cpp202 LOG_PAOC(FATAL) << "We can't use --paoc-boot-panda-locations with --paoc-boot-location\n"; in ValidateCompilerOptions()
204 auto locations = paoc_->paocOptions_->GetPaocBootPandaLocations(); in ValidateCompilerOptions() local
208 if (i >= locations.size()) { in ValidateCompilerOptions()
209 EVENT_PAOC("Numbers of files in --paoc-boot-panda-locations and --boot-panda-files are different"); in ValidateCompilerOptions()
211 << "number of locations in --paoc-boot-panda-locations less then files in --boot-panda-files\n"; in ValidateCompilerOptions()
213 auto filename = locations[i]; in ValidateCompilerOptions()
216 EVENT_PAOC("different files in --paoc-boot-panda-locations and --boot-panda-files"); in ValidateCompilerOptions()
217 LOG_PAOC(ERROR) << "The file from --paoc-boot-panda-locations: " << filename; in ValidateCompilerOptions()
225 if (i != locations in ValidateCompilerOptions()
[all...]
/arkcompiler/runtime_core/static_core/libllvmbackend/object_code/
H A Ddump.cpp65 for (const auto &loc : record.locations()) { in DumpStackMapRecord()

Completed in 14 milliseconds

12