[v8-users] How do compile the code coverage for V8?

2018-09-03 Thread hikai . bep
Hello I create gn files with args. gn args test/ --args='target_cpu="x64" v8_target_cpu="arm64" is_debug=true v8_code_coverage=true is_clang=false v8_optimized_debug=false' And I tried compile with gcc 8.1.0 in Ubuntu 16.04 but occured errors. --- hikai@ubuntu:~/wrap_v8/v8/out.gn$ ninja -C ./te

Re: [v8-users] Arraybuffer

2018-09-03 Thread dan Med
Can someone help me out? Il giorno sab 1 set 2018 alle ore 15:30 ha scritto: > array_buffer_builder.cc in src / > third_party /blink > /renderer >

Re: [v8-users] Help

2018-09-03 Thread dan Med
Can someone help me out ? Il giorno dom 2 set 2018 alle ore 11:26 ha scritto: > memcpy(static_cast(buffer_->Data()) + bytes_used_, > data,bytes_to_save); > > with this memcpy is it copying from data which is a const char pointer n > bytes_to_save into the array buffer_ or into a specific offset

Re: [v8-users] Access violation when constructing a new isolate: invalid builtins?

2018-09-03 Thread Jakob Gruber
Could you open a new bug at crbug.com/v8/new and include minimal repro? On Mon, Sep 3, 2018 at 6:13 PM, Dickson Tan wrote: > Hi, > > I'm getting errors when creating a new context, and it crashes with an > access violation here on api.cc: > > // Sanity-check that the isolate is initialized and

[v8-users] Access violation when constructing a new isolate: invalid builtins?

2018-09-03 Thread Dickson Tan
Hi, I'm getting errors when creating a new context, and it crashes with an access violation here on api.cc: // Sanity-check that the isolate is initialized and usable. CHECK(isolate->builtins()->builtin(i::Builtins::kIllegal)->IsCode()); Which eventually calls line 142 of builtins.cc: Cod