OLD | NEW |
(Empty) | |
| 1 # Copyright 2017 the V8 project authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # Print HeapObjects. |
| 6 command regex -h 'Print a v8 JavaScript object' job 's/(.+)/expr -- '_v8_interna
l_Print_Object((void*)(%1))/' |
| 7 |
| 8 # Print v8::Local handle value. |
| 9 command regex -h 'Print content of a v8::Local handle' jlh 's/(.+)/expr -- '_v8_
internal_Print_Object(*(v8::internal::Object**)(*%1))/' |
| 10 |
| 11 # Print Code objects containing given PC. |
| 12 command regex -h 'Print a v8 Code object from an internal code address' jco 's/(
.+)/expr -- '_v8_internal_Print_Code((void*)(*%1))/' |
| 13 |
| 14 # Print FeedbackVector |
| 15 command regex -h 'Print a v8 FeedbackVector object' jfv 's/(.+)/expr -- '_v8_int
ernal_Print_FeedbackVector((void*)(%1))/' |
| 16 |
| 17 # Print FeedbackMetadata |
| 18 command regex -h 'Print a v8 FeedbackMetadata object' jfm 's/(.+)/expr -- '_v8_i
nternal_Print_FeedbackMetadata((void*)(%1))/' |
| 19 |
| 20 # Print DescriptorArray. |
| 21 command regex -h 'Print a v8 DescriptorArray object' jda 's/(.+)/expr -- '_v8_in
ternal_Print_DescriptorArray((void*)(%1))/' |
| 22 |
| 23 # Print LayoutDescriptor. |
| 24 command regex -h 'Print a v8 LayoutDescriptor object' jld 's/(.+)/expr -- '_v8_i
nternal_Print_LayoutDescriptor((void*)(%1))/' |
| 25 |
| 26 # Print TransitionArray. |
| 27 command regex -h 'Print a v8 TransitionArray object' jta 's/(.+)/expr -- '_v8_in
ternal_Print_TransitionArray((void*)(%1))/' |
| 28 |
| 29 command script import ~/lldb_commands.py |
OLD | NEW |