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
When using -sASYNCIFY (or any other feature that involves complex program rewriting / optimizations via Binaryen) combined with -g, it'd be great to have emcc spit out a warning to let the developer know that what they are trying to do might not work, since the DWARF data is not updated correctly.
The text was updated successfully, but these errors were encountered:
Previously the addDefault* methods would avoid adding opt passes that we
know are incompatible with DWARF. However, that didn't handle the case of
passes that are added in other ways. For example, when running Asyncify,
emcc will run --flatten before, and that pass is not compatible with DWARF.
This PR lets us warn on that by annotating the passes themselves. Then we
use those annotation to either not run a pass at all (matching the previous
behavior) or to show a warning when necessary.
Fixesemscripten-core/emscripten#13288 . That is, concretely
after this PR running asyncify + DWARF will show a warning to the user.
When using
-sASYNCIFY
(or any other feature that involves complex program rewriting / optimizations via Binaryen) combined with-g
, it'd be great to haveemcc
spit out a warning to let the developer know that what they are trying to do might not work, since the DWARF data is not updated correctly.The text was updated successfully, but these errors were encountered: