[JS IR DCE] Add CLI option to print reachability info

This commit is contained in:
Zalim Bashorov
2020-01-10 18:43:57 +03:00
parent 16cd3f0cef
commit 2a7e32d3ae
5 changed files with 23 additions and 33 deletions
+2
View File
@@ -7,6 +7,8 @@ where advanced options include:
-Xinclude=<path> A path to an intermediate library that should be processed in the same manner as source files.
-Xir-dce Perform experimental dead code elimination
-Xir-dce-driven Perform a more experimental faster dead code elimination
-Xir-dce-print-reachability-info
Print declarations' reachability info to stdout during performing DCE
-Xir-only Disables pre-IR backend
-Xir-produce-js Generates JS file using IR backend. Also disables pre-IR backend
-Xir-produce-klib-dir Generate unpacked KLIB into parent directory of output JS file.