Re: [v8-users] Question about build mode: release/debug/optdebug

2019-05-29 Thread Jakob Kummerow
It's complicated and for the details, you'll have to look at build configuration files (start with BUILD.gn and gni/v8.gni, if needed continue with generated .ninja files in the output directory), but the short answer is that the three build modes affect C++ compilation as follows: release: -O3

[v8-users] Question about build mode: release/debug/optdebug

2019-05-28 Thread Sunghyun Park
Hi, all. I'm trying to count the number of dynamic instructions for jitted code in V8 by using PIN. Since PIN leverages symbol table to identify jitted code, I needed to compile V8 with debug mode to provide information for the symbol table. However, I'm not sure whether debug mode applies