I took a look around the disassembly. It seems (not 100% sure) like the
failure is happening as part of the `new (Pretenured) WeakCell{}` call.
Maybe I hooked the map up wrong? Not sure how allocating a T could fail
Is<T>().
On Saturday, July 11, 2020 at 9:19:43 AM UTC-5 [email protected]
wrote:
> I have two ideas.
>
> First, the real fix: instead of emitting the current file and line number
> in the generated CSA, Torque should emit the entire stack of files and line
> numbers for all macros that are currently entered. That way we wouldn't get
> a message from just some deeply-nested tiny macro like Is<T> and wonder
> what other code was including it. I can add this to the Torque backlog if
> it's not already there.
>
> Second, a possible workaround: assuming that gdb or lldb can at least tell
> you the name of the builtin and the current offset within it, you could try
> running mksnapshot with all of the normal args plus --print-code
> --code-comments, and looking at the disassembly for that builtin near that
> offset. Perhaps some nearby strings or code comments might give you a hint
> about the context.
>
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/v8-dev/bcb1dbda-5871-4196-8217-019f9a476221n%40googlegroups.com.