Skip to content

Commit

Permalink
fixup! compiler: Add support for debug information in BEAM files
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorng committed Nov 12, 2024
1 parent 025d308 commit ea6f5d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/compiler/src/beam_ssa_alias.erl
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,8 @@ aa_is([_I=#b_set{dst=Dst,op=Op,args=Args,anno=Anno0}|Is], SS0,
{SS0, AAS0};
bs_test_tail ->
{SS0, AAS0};
debug_line ->
{SS0, AAS0};
executable_line ->
{SS0, AAS0};
has_map_field ->
Expand Down
2 changes: 2 additions & 0 deletions lib/dialyzer/src/dialyzer_dataflow.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,8 @@ handle_primop(Tree, Map, State) ->
{State, Map, t_any()};
nif_start ->
{State, Map, t_any()};
debug_line ->
{State, Map, t_any()};
executable_line ->
{State, Map, t_any()};
Other ->
Expand Down
2 changes: 2 additions & 0 deletions lib/dialyzer/src/dialyzer_typesig.erl
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,8 @@ traverse(Tree, DefinedVars, State) ->
{State, t_any()};
nif_start ->
{State, t_any()};
debug_line ->
{State, t_any()};
executable_line ->
{State, t_any()};
Other -> erlang:error({'Unsupported primop', Other})
Expand Down

0 comments on commit ea6f5d6

Please sign in to comment.