Add the capability to specify JIT options on the SPMI command line.
authorPat Gavlin <pagavlin@microsoft.com>
Sat, 29 Jul 2017 22:42:39 +0000 (15:42 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Thu, 7 Sep 2017 23:17:21 +0000 (16:17 -0700)
commita6f64213881c8ebbd3035c694d4c7193846e3893
tree3a0e09c818e7f9c3c0b35305e6531b09bd443956
parente390d7202605f3e5c9eb123f37c67ec5685c3fee
Add the capability to specify JIT options on the SPMI command line.

This change adds two new flags, `-jitoption` and `-jit2option`, to the
SuperPMI command line. These flags are cumulative, and are used to
specify JIT config options (e.g. `COMPlus_JitDisasm`, albeit without the
`COMPlus_` prefix) to the base and diff JITs, respectively.

This change also removes Smarty-specific code and support for capturing
and replaying environment variables. The former is no longer terribly
useful and the latter has been obviated by the JIT host interface.
16 files changed:
src/ToolBox/superpmi/mcs/CMakeLists.txt
src/ToolBox/superpmi/mcs/commandline.cpp
src/ToolBox/superpmi/mcs/commandline.h
src/ToolBox/superpmi/mcs/mcs.cpp
src/ToolBox/superpmi/mcs/verbsmarty.cpp [deleted file]
src/ToolBox/superpmi/mcs/verbsmarty.h [deleted file]
src/ToolBox/superpmi/superpmi-shared/methodcontext.cpp
src/ToolBox/superpmi/superpmi-shared/methodcontext.h
src/ToolBox/superpmi/superpmi-shim-collector/icorjitcompiler.cpp
src/ToolBox/superpmi/superpmi/commandline.cpp
src/ToolBox/superpmi/superpmi/commandline.h
src/ToolBox/superpmi/superpmi/jithost.cpp
src/ToolBox/superpmi/superpmi/jitinstance.cpp
src/ToolBox/superpmi/superpmi/jitinstance.h
src/ToolBox/superpmi/superpmi/parallelsuperpmi.cpp
src/ToolBox/superpmi/superpmi/superpmi.cpp