Fix -vEval.DumpBytecode=2 in RepoAuthoritative mode
commitb088bbed611a9e67eb32f86248e2332e9a49f8f1
authorMark Williams <mwilliams@fb.com>
Sat, 13 Aug 2016 00:07:52 +0000 (12 17:07 -0700)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Sat, 13 Aug 2016 00:21:07 +0000 (12 17:21 -0700)
treefdc71096e9733bd3b61cff335123f30a70d76ec0
parentadcc1dc31941e33312052e1eeb37b5a6c23e11fd
Fix -vEval.DumpBytecode=2 in RepoAuthoritative mode

Summary:
We mark the litstr table as non-readable during systemlib and
extension initialization, since they could potentially add to it.

In RepoAuthoritative mode, those files have already been parsed, and
their strings included in the litstr table, so it /is/ safe to read it.

Reviewed By: mxw

Differential Revision: D3711056

fbshipit-source-id: e1613a430ab4bb6b0a1d49d422c527fbe1672321
hphp/hhvm/process-init.cpp
hphp/runtime/ext/extension-registry.cpp