Original bug ID: 5597 Reporter:@avsm Assigned to: meyer Status: closed (set by @xavierleroy on 2015-12-11T18:08:00Z) Resolution: fixed Priority: low Severity: feature Version: 3.12.1 Target version: 4.00.1+dev Fixed in version: 4.00.0+dev Category: runtime system and C interface
When using caml_trace_flag=1 with an embedded bytecode application (linked with ocamlc -output-obj -o x.c), the names of primitives are not registered in caml_startup_code. Thus the instrtrace looks like:
./run.sh in the attached tar ball will show the before after.
The only way to activate caml_trace_flag is via manually compiling the debug libasmrun.d and setting the flag, as parsing command line parameters is not done by caml_startup_code. Would a patch to add "t" to OCAMLRUNPARAM for debug bytecode builds be ok?