diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2017-07-01 15:15:52 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2017-07-02 00:28:25 +0100 |
commit | 1b9d37a00ebae8b59773c8501d8712e1c3335302 (patch) | |
tree | 1295ee5099609f5a6c05689adfa7962ad4cdc5ab /third_party/dynasm/dasm_mips.h | |
parent | e38098cbfc58c0e2911b2c2b2abff043de42a85b (diff) |
Start migrating upb_msglayout to be suitable for generated code.
This involves:
- remove upb_msglayout -> upb_msgfactory dependency.
- remove upb_msglayout -> upb_msgdef dependency (in progress).
- make upb_msglayout use a representation that can be
statically initialized by generated code.
The goal here is that upb_msglayout becomes a kind of "descriptor
lite": it contains enough data to parser and serialize protobufs
and manipulate a upb_msg in memory, while being far smaller and
simpler than a full descriptor. It also does not include field
names, which can be a benefit for applications that do not want
to leak field names.
Generated code can then create a upb_msglayout, and do most things
without ever needing to construct full descriptors/defs if they
don't want to.
Diffstat (limited to 'third_party/dynasm/dasm_mips.h')
0 files changed, 0 insertions, 0 deletions