b4fb2b0ab4
migrate more program_state logic from header into shared library (phase II)
[ROCm/clr commit: 1d5d923d36]