Hi v8-users,
My code which embeds V8 uses RTTI. My code also defines a custom subclass of v8::ArrayBuffer::Allocator. Since this subclass is defined in my code, RTTI type info is generated. This type info contains a reference to the type info for v8::ArrayBuffer::Allocator. However, since v8 is complied with -fno-rtti, there is no such type info emitted, and I end up with a linker error.
I would therefore like to build V8 with RTTI enabled. The code bloat doesn't matter for my use case. However, it looks like there's currently no way for me to do this without editing build/config/BUILDCONFIG.gn, where no_rtti is unconditionally specified in default_compiler_configs.
Is my understanding correct? If so, would the V8 maintainers accept a patch to make this configurable via a GN variable?
Thanks,
-Kenton