You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attached a patch that seems to fix the issue, although passing the global symbol through the global reference in Compilation_unit is not very satisfactory.
I added an additional argument to the function to avoid this. I might reconsider and directly add the root symbols to Export_info.t . But this is certainly sufficient for now. This was the case originally, and the field was removed at some point and not fixed.
Original bug ID: 7294
Reporter: @alainfrisch
Assigned to: @chambart
Status: closed (set by @damiendoligez on 2016-10-26T15:00:34Z)
Resolution: fixed
Priority: normal
Severity: minor
Target version: 4.05.0 +dev/beta1/beta2/beta3/rc1
Fixed in version: 4.05.0 +dev/beta1/beta2/beta3/rc1
Category: tools (ocaml{lex,yacc,dep,debug,...})
Monitored by: @gasche
Bug description
The function Export_info.print_approx is broken, which makes the output of ocamlobjinfo for .cmx produced with flambda incomplete.
This function maintains a queue of symbols to print. The problem is that this queue is initially empty, so nothing is ever printed.
File attachments
The text was updated successfully, but these errors were encountered: