54bf45519f
And also make sure that even long names don't get truncated. Fixed: chromium:1216284 Change-Id: I2792b60ddeb40a87816cb54fb0414ef0dea45da0 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2947409 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/master@{#75059}
32 lines
1013 B
Plaintext
32 lines
1013 B
Plaintext
Tests GC object inspection.
|
|
|
|
Running test: test
|
|
Instantiating.
|
|
Waiting for wasm script (ignoring first non-wasm script).
|
|
Setting breakpoint at offset 107 on script wasm://wasm/151aafd6
|
|
Calling main()
|
|
Paused:
|
|
Script wasm://wasm/151aafd6 byte offset 107: Wasm opcode 0x21 (kExprLocalSet)
|
|
Scope:
|
|
at $main (0:107):
|
|
- scope (wasm-expression-stack):
|
|
0: Array ((ref $ArrC))
|
|
object details:
|
|
0: Struct ((ref null $StrA))
|
|
length: 1 (number)
|
|
- scope (local):
|
|
$varA: Struct ((ref null $StrA))
|
|
$varB: null ((ref null $ArrC))
|
|
object details:
|
|
$byte: 127 (i8)
|
|
$word: 32767 (i16)
|
|
$pointer: Struct ((ref $veryLongNameWithMoreThanOneHundredAndTwentyEightCharactersToTestThatWeAreHandlingStringBufferOverflowWithoutCrashing_ThisWontGetTruncated))
|
|
- scope (module):
|
|
instance: exports: "main" (Function)
|
|
module: Module
|
|
functions: "$main": (Function)
|
|
globals: "$global0": function $main() { [native code] } ((ref null $type3))
|
|
at (anonymous) (0:17):
|
|
-- skipped
|
|
exports.main returned!
|