Summary: After activation, a few bugs manifested and are fixed in this commit: 1. Create an (empty) Tenv per file. Previously, each file said there will be a global Tenv, but no such global Tenv was ever saved. (There is no static typing at all at the moment in the Erlang frontend.) 2. Procedures are now marked as defined. If the is_defined attribute is false, then the analysis will not run even if the flowgraph in Procdesc is nontrivial. 3. Non-dummy Start/Exit nodes for Procdesc. When a Procdesc is created, it gets dummy Start/Exit nodes. These dummy nodes have a dummy location, which causes debug output to have wrong directories/links. 4. Filenames from Erlang function names. By default, the verbose procedure name was used to make file names for the debug output. But, Erlang function names contain '/', which doesn't play well with filenames. That's now replaced by '#' for the purposes of constructing filenames. Reviewed By: jvillard Differential Revision: D29166049 fbshipit-source-id: 48346a05bmaster
parent
a4a9433982
commit
2d1ccf5994
Loading…
Reference in new issue